Skip to content

Code compilation problem #1

@vrr187

Description

@vrr187

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions