Idiomatic Pandas: 5 Tips for Better Pandas Code

Matt Harrison (~matt79)


Pandas can be tricky, and there is a lot of bad advice floating around. This talk will cut through some of the biggest issues I've seen with Pandas code after working with the library for a while and writing two books on it.

  • Getting types right - 5min
  • Chaining operations - 5min
  • Mutation - 5min
  • When to use .apply - 5min
  • Mastering aggregation - 5min


Some pandas experience is useful.

Video URL:

Content URLs:

Here are the slides (they are a Jupyter notebook that I will present from)

Speaker Info:

Matt Harrison has been using Python since 2000. He runs MetaSnake, a Python and Data Science consultancy and corporate training shop. In the past, he has worked across the domains of search, build management and testing, business intelligence and storage.

He has presented and taught tutorials at conferences such as Strata, SciPy, USENIX, PyCON and OSCON as well as local user conferences. The structure and content of this book is based off of first hand experience teaching Python to many individuals.

He occasionally tweets useful Python related information at @__mharrison__

Speaker Links:

Section: Data Science, Machine Learning and AI
Type: Talks
Target Audience: Intermediate
Last Updated: