September 5, 2019 · Python tutorial

100 pandas tricks to save you time and energy

Below you'll find 100 tricks that will save you time and energy every time you use pandas! These the best tricks I've learned from 5 years of teaching the pandas library.

"Soooo many nifty little tips that will make my life so much easier!" - C.K.

"Kevin, these tips are so practical. I can say without hesitation that you provide the best resources for pandas I have ever used." - N.W.

P.S. You can also watch a video of my top 25 tricks! 🐼🀹


Categories

Reading files

Reading from the web

Creating example DataFrames

Creating columns

Renaming columns

Selecting rows and columns

Filtering rows by condition

Manipulating strings

Working with data types

Encoding data

Extracting data from lists

Working with time series data

Handling missing values

Using aggregation functions

Using cumulative functions

Random sampling

Merging DataFrames

Styling DataFrames

Exploring a dataset

Handling warnings

Other

  • LinkedIn
  • Tumblr
  • Reddit
  • Google+
  • Pocket
Comments powered by Disqus