{"product_id":"9789349174894","title":"Python Data Science Cookbook: Practical solutions across fast data cleaning, processing, and machine learning workflows with pandas, NumPy, and scikit-learn","description":"\u003cp\u003eThis book's got a bunch of handy recipes for data science pros to get them through the most common challenges they face when using Python tools and libraries. Each recipe shows you exactly how to do something step-by-step. You can load CSVs directly from a URL, flatten nested JSON, query SQL and NoSQL databases, import Excel sheets, or stream large files in memory-safe batches.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eOnce the data's loaded, you'll find simple ways to spot and fill in missing values, standardize categories that are off, clip outliers, normalize features, get rid of duplicates, and extract the year, month, or weekday from timestamps. You'll learn how to run quick analyses, like generating descriptive statistics, plotting histograms and correlation heatmaps, building pivot tables, creating scatter-matrix plots, and drawing time-series line charts to spot trends. You'll learn how to build polynomial features, compare MinMax, Standard, and Robust scaling, smooth data with rolling averages, apply PCA to reduce dimensions, and encode high-cardinality fields with sparse one-hot encoding using feature engineering recipes.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cp\u003eAs for machine learning, you'll learn to put together end-to-end pipelines that handle imputation, scaling, feature selection, and modeling in one object, create custom transformers, automate hyperparameter searches with GridSearchCV, save and load your pipelines, and let SelectKBest pick the top features automatically. You'll learn how to test hypotheses with t-tests and chi-square tests, build linear and Ridge regressions, work with decision trees and random forests, segment countries using clustering, and evaluate models using MSE, classification reports, and ROC curves. And you'll finally get a handle on debugging and integration: fixing pandas merge errors, correcting NumPy broadcasting mismatches, and making sure your plots are consistent.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003eKey Learnings\u003cp\u003eYou can load remote CSVs directly into pandas using read_csv, so you don't have to deal with manual downloads and file clutter.\u003c\/p\u003e\u003cp\u003eUse json_normalize to convert nested JSON responses into simple tables, making it a breeze to analyze.\u003c\/p\u003e\u003cp\u003eYou can query relational and NoSQL databases directly from Python, and the results will merge seamlessly into Pandas.\u003c\/p\u003e\u003cp\u003eFind and fill in missing values using IGNSA(), forward-fill, and median strategies for all of your data over time.\u003c\/p\u003e\u003cp\u003eYou can free up a lot of memory by turning string columns into Pandas' Categorical dtype.\u003c\/p\u003e\u003cp\u003eYou can speed up computations with NumPy vectorization and chunked CSV reading to prevent RAM exhaustion.\u003c\/p\u003e\u003cp\u003eYou can build feature pipelines using custom transformers, scaling, and automated hyperparameter tuning with GridSearchCV.\u003c\/p\u003e\u003cp\u003eUse regression, tree-based, and clustering algorithms to show linear, nonlinear, and group-specific vaccination patterns.\u003c\/p\u003e\u003cp\u003eEvaluate models using MSE, R², precision, recall, and ROC curves to assess their performance.\u003c\/p\u003e\u003cp\u003eSet up automated data retrieval with scheduled API pulls, cloud storage, Kafka streams, and GraphQL queries.\u003c\/p\u003e\u003cp\u003e\u003c\/p\u003eTable of Content\u003cp\u003eData Ingestion from Multiple Sources\u003c\/p\u003e\u003cp\u003ePreprocessing and Cleaning Complex Datasets\u003c\/p\u003e\u003cp\u003ePerforming Quick Exploratory Analysis\u003c\/p\u003e\u003cp\u003eOptimizing Data Structures and Performance\u003c\/p\u003e\u003cp\u003eFeature Engineering and Transformation\u003c\/p\u003e\u003cp\u003eBuilding Machine Learning Pipelines\u003c\/p\u003e\u003cp\u003eImplementing Statistical and Machine Learning Techniques\u003c\/p\u003e\u003cp\u003eDebugging and Troubleshooting\u003c\/p\u003e\u003cp\u003eAdvanced Data Retrieval and Integration\u003c\/p\u003e","brand":"GitforGits","offers":[{"title":"Default Title","offer_id":46278317048049,"sku":"9789349174894","price":39.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0674\/5433\/7265\/files\/9789349174894_p0.jpg?v=1771243070","url":"https:\/\/shop.barnesandnoble.com\/products\/9789349174894","provider":"Barnes \u0026 Noble","version":"1.0","type":"link"}