edyoda/data-science-complete-tutorial

Error message in example

Sidharth-Darwin opened this issue · 0 comments

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