Use agg() Method Over apply() To Accumulate Pandas Dataframes Faster.
Speed up aggregations using .agg method instead of .apply and .map methods.
Speed up aggregations using .agg method instead of .apply and .map methods.
How to speed up Pandas data wrangling operations with simple tweaks.
Replacing values on a dataframe can sometimes be very tricky. Bulk replacement in a large dataset could be difficult and slow.
Skimpy makes it incredibly easy to summarize datasets in notebooks and terminals.