“Data Analysis with Python” by Wes McKinney

Summary & Discussion

Wes McKinney wrote Data Analysis with Python in order to consolidate in a single title all the pertinent and latest information about using Python for Data Analysis.

This book is distinct from the other sources included in my Notes Sources section in that it is primarily about Python and secondarily about Data Science.

From page 1: “My goal is to offer a guide to the parts of the Python programming language and its data-oriented library ecosystem and tools that will equip you to become an effective data analyst. While ‘data analysis’ is in the title of the book, the focus is specifically on Python programming, libraries, and tools as opposed to data analysis methodology.”

Lastly, as the subtitle indicates, the book was written with the purpose of elaborating on the “data wrangling” part of the data analysis process specifically.

I will be heavily relying on this great reference in generating the applied, Python-related elements of my own library of Data Science notes. Wes McKinney has made all the data and source code for the book freely available online, and I expect I will be reproducing and commenting on large parts of it in my notes as well.

As part of my ongoing attempt to understand the knowledge base a Data Scientist requires, I’ve distilled the book’s contents, below.

Major Contents

List of Essential Python libraries

  • Numpy
  • Pandas
  • matplotlib
  • IPython and Jupyter
  • SciPy
  • scikit-learn
  • statsmodels

Content in Order of Appearance

  • Python Basics
    • IPython
    • Jupyter Notebooks
    • Data Structures, Functions, Files
  • NumPy Basics
    • ndarrays
  • Pandas Basics
    • Series, DataFrames
    • Computing Descriptive statistics
  • Reading and Writing Data
  • Data Cleaning and Preparation
  • Data Wrangling
    • Join, Combine, Reshape
  • Matplotlib
    • Line plots, bar plots
    • Histograms, scatter plots, categorical data
  • GroupBy
  • Time Series
  • Advanced Pandas
  • Intro to Modeling libraries
    • Statsmodels, scikit-learn
  • Data Analysis Examples
  • Advanced NumPy
  • More on IPython System

Content for this article is taken from:

Python for Data Analysis by Wes McKinney (O’Reilly). Copyright 2017 Wes McKinney, 978-1-491-95766-0. Get it here.