Skip to content

fixed deprecation warnings (Pandas new syntax)#1

Open
gcalmettes wants to merge 1 commit into
jakevdp:masterfrom
gcalmettes:master
Open

fixed deprecation warnings (Pandas new syntax)#1
gcalmettes wants to merge 1 commit into
jakevdp:masterfrom
gcalmettes:master

Conversation

@gcalmettes
Copy link
Copy Markdown

Updated notebook to latest Pandas syntax (mostly rolling new syntax).

ex:
pd.stats.moments.rolling_mean(daily['total'], 30).plot();

changed to

daily['total'].rolling(window=30, center=False).mean().plot()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant