Ai+: Practical Advanced Pandas

Knowing just enough Pandas can mean the difference between exploring and understanding data from a fundamental. Knowing how to transform data, use multi-indexes, and customize Pandas' visual aspects in Jupyter Lab gives you the power to approach everyday problems confidently. In this session, you will build on fundamentals you already know to handle a more comprehensive array of data problems.

This session is for anyone who already has a solid foundation of Pandas fundamentals who wants to extend their knowledge with more advanced features, including aggregation, multi-indexing, designing transformations, and customizing DataFrame output.

The majority of our session will be in Jupyter notebooks and writing code hands-on. Please review the environment setup ahead of time.

Learning Objectives

Part 1: Introductions, Configuration, and Review

  • Configure their Python environments
  • Review the fundamentals of Pandas

Part 2: Aggregations and ".apply()"

  • Perform simple aggregations
  • Review: DataFrame Axis
  • Understand when to use Built-in vs. ".apply()" for data transformation

Part 3: Mult-indexing

  • Describe when multi-indexing makes sense
  • Be familiar with common multi-index use cases
  • Understand how to select data with multi-indexes

Part 4: Customizing DataFrame Output

  • Describe which aspects of a DataFrame can be customized
  • How to write callback functions on DataFrame aesthetics