Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chapter4_tidy_data variable versus rest plot gives some empty plots #28

Open
bhishanpdl opened this issue Feb 15, 2019 · 0 comments
Open

Comments

@bhishanpdl
Copy link

bhishanpdl commented Feb 15, 2019

These all tutorial are superbly great, and the author has put lots of efforts on them. The code might have been running excellent on 2016 but now (at 2019 Feb),
some of the codes of chapter_4_tidy_data fails.

Issue 1

example:

g = sns.FacetGrid(tidy, col='team', col_wrap=6, hue='team', size=2)
g.map(sns.barplot, 'variable', 'rest');

Gives:
imagur link

Issue 2

rest.unstack()
        .query('away_team < 7')
        .rolling(7)
        .mean()

Gives all NANS and plot fails.

and so on.

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

No branches or pull requests

1 participant