-
Notifications
You must be signed in to change notification settings - Fork 93
Description
Hello, I'm in trouble to run this part of the code: IN[14].
When I try to run it I got:
OUT[14]: AttributeError: 'module' object has no attribute 'rolling_mean'
The problem is on this (line 4 to be more specific) but I'm not succeding to reformulate the sintax:
4 temp.append(pd.rolling_mean(pd.pivot_table(telemetry,
5 index='datetime',
6 columns='machineID',
7 values=col), window=24).resample('3H',
8 closed='left',
9 label='right',
10 how='first').unstack())
Could you help me with it?
Which version of pandas did you used to compile this code by the way?
Thanks in advance for the attention.