Last active
December 14, 2019 02:36
-
-
Save GeorgeSeif/10eec16d5e3f2ab92226cbc215e7c6dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Operation | Pandas Time (ms) | Dask Time (ms) | Speedup | |
---|---|---|---|---|
df['price'].mean() | 2.6 | 1.0 | 2.6 | |
df['price'].max() | 2.2 | 0.6 | 3.7 | |
df[df['price'] > 250] | 13 | 0.7 | 18.6 | |
df + df | 163 | 3.4 | 48.5 | |
df['price'].drop_duplicates() | 4.3 | 0.8 | 5.4 | |
df['price'].value_counts() | 3.8 | 0.9 | 4.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment