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

FutureWarning: how in .resample() is deprecated #13

Closed
kidpixo opened this issue Jul 27, 2016 · 2 comments
Closed

FutureWarning: how in .resample() is deprecated #13

kidpixo opened this issue Jul 27, 2016 · 2 comments

Comments

@kidpixo
Copy link

kidpixo commented Jul 27, 2016

Using how in return a Future Warning

/Users/xxxx/.virtualenvs/calmap/lib/python2.7/site-packages/calmap/__init__.py:294: FutureWarning: how in .resample() is deprecated
the new syntax is .resample(...).count()
  by_day = data.resample('D', how=how)

should be easy to fix, I'll see if i can submit a PR.

@kidpixo
Copy link
Author

kidpixo commented Jul 27, 2016

Uhm it's harder than I thought , see here for the new Pandas resample API : What’s New — pandas 0.18.0 documentation

@martijnvermaat
Copy link
Owner

Thanks, this is being tracked in #10 so I'm closing this. PR would be very welcome.

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

2 participants