WRITELOOP

PERFORMANCE TIPS FOR PYTHON PANDAS

2020 July 10
  • Do not use apply. Use a cython implementation of it.
  • Use Multicolumn indexed dataframes instead of groupby.
  • From version 1.0 on, you can use NullType and String types to gain huge performance boosts.
NOTE: The original content(s) that inspired this one can be found at:
https://pca.st/episode/dae6f5cb-b887-431d-9d6a-3227a50235bf
All copyright and intellectual property of each one belongs to its' original author.