I’m using pandas 0.16.2. This has better performance on my large dataset:
data.groupby(data.date.dt.year)
Using the dt option and playing around with weekofyear, dayofweek etc. becomes far easier.
I’m using pandas 0.16.2. This has better performance on my large dataset:
data.groupby(data.date.dt.year)
Using the dt option and playing around with weekofyear, dayofweek etc. becomes far easier.