-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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
DEPR: rename Timestamp.offset to .freq #13593
Conversation
# Temp, | ||
# Categorical.categories is changed from str to bytes in PY3 | ||
# maybe the same as GH 13591 | ||
if PY3 and b.categories.inferred_type == 'string': |
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.
seems to be the same issue as #13591
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.
cc @kawochen
Current coverage is 84.31%
|
ec2fe22
to
c7749d5
Compare
else: | ||
tm.assert_categorical_equal(a, b) | ||
elif a is NaT: | ||
assert b is NaT |
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.
we should prob change the comparators to be like the rest of pandas (e.g. assertTrue).... but can do later
c7749d5
to
5491fb6
Compare
thanks @sinhrks I had to do a couple of more renames to avoid the warnings...but no biggie. not that |
Thanks, let me do a follow-up for testing |
closes pandas-dev#12160 Author: sinhrks <sinhrks@gmail.com> Closes pandas-dev#13593 from sinhrks/depr_timestamp_offset and squashes the following commits: c7749d5 [sinhrks] DEPR: rename Timestamp.offset to .freq
Deprecated in v0.19.0 xref pandas-devgh-13593
Deprecated in v0.19.0 xref gh-13593
Deprecated in v0.19.0 xref pandas-devgh-13593
git diff upstream/master | flake8 --diff