Skip to content

Error message in example #9

@Sidharth-Darwin

Description

@Sidharth-Darwin

Rolling for window based operation
In [2]:
titanic_data.Age.rolling(window=5,min_periods=1).agg(['sum','min'])

NameError Traceback (most recent call last)
in ()
----> 1 titanic_data.Age.rolling(window=5,min_periods=1).agg(['sum','min'])

NameError: name 'titanic_data' is not defined
For columns containing string, we have str utilities

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions