Pandas for Everyone: Python Data Analysis eBook

Daniel Y. Chen

View sample pages

Pandas for Everyone: Python Data Analysis eBook

By Daniel Y. Chen
In stock
Add to cart
Daniel Y. Chen
Published Date
Today, analysts must manage data characterised by extraordinary variety, velocity, and volume. Using the open source Pandas library, you can use Python to rapidly automate and perform virtually any data analysis task, no matter how large or complex. Pandas can help you ensure the veracity of your data, visualise it for effective decision-making, and reliably reproduce analyses across multiple datasets. Pandas for Everyone brings together practical knowledge and insight for solving real problems with Pandas, even if you’re new to Python data analysis. Daniel Y. Chen introduces key concepts through simple but practical examples, incrementally building on them to solve more difficult, real-world problems.

Chen gives you a jumpstart on using Pandas with a realistic dataset and covers combining datasets, handling missing data, and structuring datasets for easier analysis and visualisation. He demonstrates powerful data cleaning techniques, from basic string manipulation to applying functions simultaneously across dataframes.

Once your data is ready, Chen guides you through fitting models for prediction, clustering, inference, and exploration. He provides tips on performance and scalability, and introduces you to the wider Python data analysis ecosystem.
  • Work with DataFrames and Series, and import or export data
  • Create plots with matplotlib, seaborn, and pandas
  • Combine datasets and handle missing data
  • Reshape, tidy, and clean datasets so they’re easier to work with
  • Convert data types and manipulate text strings
  • Apply functions to scale data manipulations
  • Aggregate, transform, and filter large datasets with groupby
  • Leverage Pandas’ advanced date and time capabilities
  • Fit linear models using statsmodels and scikit-learn libraries
  • Use generalised linear modeling to fit models with different response variables
  • Compare multiple models to select the “best”
  • Regularise to overcome overfitting and improve performance

The full text downloaded to your computer

With eBooks you can:

  • search for key concepts, words and phrases
  • make highlights and notes as you study
  • share your notes with friends

eBooks are downloaded to your computer and accessible either offline through the Bookshelf (available as a free download), available online and also via the iPad and Android apps.

Upon purchase, you'll gain instant access to this eBook.

Time limit

The eBooks products do not have an expiry date. You will continue to access your digital ebook products whilst you have your Bookshelf installed.

Daniel Y. Chen is a graduate student in the interdisciplinary Ph.D. program in Genetics, Bioinformatics & Computational Biology (GBCB) at Virginia Polytechnic Institute and State University (Virginia Tech). He is involved with Software Carpentry as an instructor and Mentoring Committee Member, and currently serves as the Assessment Committee Chair. He completed his master’s degree in public health at Columbia University Mailman School of Public Health in Epidemiology with a certificate in Advanced Epidemiology, and is currently extending his master’s thesis work in the Social and Decision Analytics Laboratory under the Virginia Bioinformatics Institute on attitude diffusion in social networks.
  • Establishes a solid foundation for all the Pandas basics needed to be effective
  • Covers dataframes, statistical calculations, data munging, modeling, machine learning, reproducible documents, and much more
  • Teaches step-by-step through easy, incremental examples, with plenty of opportunities to "code along"
Table of contents
  • Part I. Introduction
  • 0. Setting Up
  • 1. Introduction to Panda's Dataframes
  • 2. Dataframe Components
  • 3. Performing Statistics and Calculations on Sliced and Grouped Dataframes
  • 4. Plotting in Matplotlib
  • Part II. Data Munging
  • 5. Basic Data Cleaning
  • 6. Reshaping Dataframes
  • 7. Missing Values
  • 8. Working with Dates
  • 9. Working with Multiple Dataframes
  • 10. Working with Databases
  • Part III. Modeling
  • 11. Basic Statistics
  • 12. Linear Models and Regression
  • 13. Survival Analysis
  • 14. Model Selection and Diagnostics
  • 15. Time Series
  • Part IV. Machine Learning
  • 16. Supervised Learning
  • 17. Unsupervised Learning
  • Part V. Reproducible Documents (Literate Programming)
  • 18. Jupyter Notebook
  • 19. Pweave
  • Appendices