Ch12: TimeGrouper is deprecated
trakru opened this issue · comments
Ankush Trakru commented
Under "Grouped Time Resampling"
time_key = pd.TimeGrouper('5min')
is incorrect/deprecated
the line should now read:
time_key = pd.Grouper(freq='5min')
Wes McKinney commented
Will fix. I'm overdue for an errata fixing sprint, I will get to it sometime in 2020
Wes McKinney commented
This is fixed in the 3rd edition