Python Data Analysis with NumPy and pandas
This is a rapid introduction to NumPy, pandas, and matplotlib for experienced Python programmers who are new to those libraries.
- Learn to work with Jupyter Notebook.
- Learn to use NumPy to work with arrays and matrices of numbers.
- Learn to work with pandas to analyze data.
- Learn to work with matplotlib from within pandas.
- Jupyter Notebook
- Getting Started with Jupyter Notebook
- Creating Your First Jupyter notebook
- More Experimenting with Jupyter Notebook
- Getting the Class Files
- Magic Commands
- Directory Commands
- Command History
- Last Three Inputs and Outputs
- Environment Variables
- Loading and Running Code from Files
- Shell Execution
- More Magic Commands
- Getting Help
- NumPy Arrays
- Getting Basic Information about an Array
- Similar to Lists
- Different from Lists
- Universal Functions
- Multiplying Array Elements
- Multi-dimensional Arrays
- Retrieving Data from an Array
- Modifying Parts of an Array
- Adding a Row Vector to All Rows
- More Ways to Create Arrays
- Getting the Number of Rows and Columns in an Array
- Random Sampling
- Rolling Doubles
- Using Boolean Arrays to Get New Arrays
- More with NumPy Arrays
- Other Ways of Creating Series
- Accessing Elements from a Series
- Retrieving Data from a Series
- Series Alignment
- Using Boolean Series to Get New Series
- Comparing One Series with Another
- Element-wise Operations and the apply() Method
- Series: A More Practical Example
- Creating a DataFrame from a NumPy Array
- Creating a DataFrame using Existing Series as Rows
- Creating a DataFrame using Existing Series as Columns
- Creating a DataFrame from a CSV
- Exploring a DataFrame
- Getting Columns
- Exploring a DataFrame
- Cleaning Data
- Getting Rows
- Combining Row and Column Selection
- Scalar Data: at and iat
- Boolean Selection
- Using a Boolean Series to Filter a DataFrame
- Series and DataFrames
- Plotting with matplotlib
- Inline Plots in Jupyter Notebook
- Line Plot
- Bar Plot
- Plotting a DataFrame
- Other Kinds of Plots
Each student in our Live Online and our Onsite classes receives a comprehensive set of materials, including course notes and all the class examples.
Experience in the following is required for this Python class:
- Basic Python programming experience. In particular, you should be very comfortable with:
- Working with strings.
- Working with lists, tuples and dictionaries.
- Loops and conditionals.
- Writing your own functions.
Courses that can help you meet these prerequisites: