ianozsvald / dtype_pandas_numpy_speed_test

Speed test on Pandas or NumPy
MIT License
2 stars 2 forks source link

Int64? #2

Open ianozsvald opened 4 years ago

ianozsvald commented 4 years ago

A quick test with %timeit suggests that an Int64 is 4x slower than an int64...but this isn't conclusive. Since an Int64 doesn't have a .values I can't use my usual loop so this requires a bit more work.

ThomasLecocq commented 4 years ago

do these two behave differently? df.mean() vs df.apply(np.mean) to avoid using df.values.mean()