Python Data Analysis (2020)

Python Data Analysis (2020)

2h 31mIntermediate2020-03-11

Authors

Michele Vallisneri

Michele Vallisneri

Theoretical Astrophysicist at NASA Jet Propulsion Laboratory

Course details

Data science is transforming the way that government and industry leaders look at both specific problems and the world at large. Curious about how data analysis actually works in practice? In this course, instructor Michele Vallisneri shows you how, explaining what it takes to get started with data science using Python.

Michele demonstrates how to set up your analysis environment and provides a refresher on the basics of working with data structures in Python. Then, he jumps into the big stuff: the power of arrays, indexing, and tables in NumPy and pandas—two popular third-party packages designed specifically for data analysis. He also walks through two sample big-data projects: using NumPy to identify and visualize weather patterns and using pandas to analyze the popularity of baby names over the last century. Challenges issued along the way help you practice what you've learned.

Learning objectives
Describe how to install and start Python, and load necessary libraries.
Explain examples of uses for lists and ranges in Python.
Explain string processing methods in Python.
Describe the characteristics and specifications of NumPy arrays.
Explain examples of uses for NumPy methods in generating and analyzing data.
Use matplotlib to create xy plots.
Describe the characteristics and specifications of DataFrames in pandas.

Skills covered

PythonData AnalysisProgramming LanguagesData ScienceBusiness Analysis and StrategyBusiness Software and ToolsOpen SourceSoftware DevelopmentDeep Dive (X:Y)

Concepts

Introduction

  • Get started in data analysis with Python
  • What you need to know
  • What's new in this update

Installation and Setup

  • Install Anaconda Python on OS X
  • Install Anaconda Python on Windows
  • Working with Jupyter Notebooks
  • Using the exercise files
  • Using Python in the cloud

Data Structures in Pure Python

  • Warmup with Python loops
  • Sequences - Lists, tuples, and the slicing syntax
  • Dictionaries and sets
  • Comprehensions
  • Advanced Python containers

Wordplay - Anagrams and Palindromes

  • Anagrams overview
  • Loading a dictionary
  • Finding anagrams
  • Challenge - Palindromes
  • Solution - Palindromes

Arrays with NumPy

  • NumPy overview
  • Creating NumPy arrays
  • Indexing NumPy arrays
  • Doing math with NumPy arrays
  • Special arrays - Records and dates

Use Case - Weather Data

  • Overview of use case
  • Loading station and temperature data
  • Filling missing values
  • Smoothing time series
  • Weather charts
  • Challenge - Weather anomalies
  • Solution - Weather anomalies

pandas

  • pandas overview
  • DataFrames and Series
  • Indexing in pandas
  • Plotting

Use Case - Baby Names

  • Overview of use case
  • Loading data sets
  • Comparing name popularity
  • Yearly top ten names
  • Challenge - Unisex baby names
  • Solution - Unisex baby names

Conclusion

  • Next steps
80,000 Toman