Open zfrankel opened 8 years ago
is_snowing.astype(float).resample('M', how=np.mean).plot(kind='bar')
FutureWarning: how in .resample() is deprecated the new syntax is .resample(...)..apply() if name == 'main':
The new way to write it is: is_snowing.astype(float).resample('M').apply(np.mean).plot(kind='bar')
is_snowing.astype(float).resample('M').apply(np.mean).plot(kind='bar')
Thanks!
is_snowing.astype(float).resample('M', how=np.mean).plot(kind='bar')
The new way to write it is:
is_snowing.astype(float).resample('M').apply(np.mean).plot(kind='bar')
Thanks!