-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG : Series.to_timestamp and Series.to_period raise user-facing AssertionError #34067
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
BUG : Series.to_timestamp and Series.to_period raise user-facing AssertionError #34067
Conversation
Thanks @vipulrai91 for the PR. can you add tests that test for the error message. |
Also a whatsnew in doc/source/whatsnew/v1.1.0rst |
Yes , I would add it once the above part is fixed. |
Hello @vipulrai91! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found: There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻 Comment last updated at 2020-05-20 11:42:15 UTC |
bbc5a4d
to
680318a
Compare
we use
pandas\tests\series\methods\test_to_period.py and pandas\tests\series\methods\test_to_timestamp.py
add in Backwards incompatible API changes section As this previously raised AttributeError, #33327 (comment), can add similar to existing release note for swaplevels
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a test that hits this
@jreback Please let me know if this is correct , also , I am not sure which parts to add the doc in doc/source/whatsnew/v1.1.0.rst |
see #34067 (comment) |
…sertionErrorSeriesTimestamp
…sertionErrorSeriesTimestamp
…sertionErrorSeriesTimestamp
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @vipulrai91 for working on this. a few more suggestions but getting close.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @vipulrai91 lgtm pending green ex. whitespace in whatsnew.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @vipulrai91 lgtm. @jreback
thanks @vipulrai91 very nice |
black pandas
git diff upstream/master -u -- "*.py" | flake8 --diff