Skip to content

Instantly share code, notes, and snippets.

@GeorgeSeif
Last active December 1, 2019 10:26
Show Gist options
  • Save GeorgeSeif/cc05dac9affeb41bb21c7c45676bbc85 to your computer and use it in GitHub Desktop.
Save GeorgeSeif/cc05dac9affeb41bb21c7c45676bbc85 to your computer and use it in GitHub Desktop.
Operation Pandas Time Modin Time Speedup
pd.read_csv('esea_master_dmg_demos.part1.csv') 8.38 3.22 2.6
pd.concat([df for _ in range(5)]) 3.56 0.041 86.83
df.groupby(by='wp_type') 0.00029 0.059 0.0049
df.fillna(value=0) 1.8 0.21 8.57
df.dropna() 1.24 1.71 0.73
df.count() 1.09 0.046 23.70
df.drop_duplicates() 7.68 13.38 0.57
df.describe() 1.30 4.69 0.28
df['seconds'].max() 0.015 0.26 0.058
df.isnull() 0.998 0.012 83.17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment