Skip to content

BUG: fix+test PA+all-NaT TDA #27739

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

Merged
merged 2 commits into from
Aug 4, 2019
Merged

BUG: fix+test PA+all-NaT TDA #27739

merged 2 commits into from
Aug 4, 2019

Conversation

jbrockmendel
Copy link
Member

  • closes #xxxx
  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

In conjunction with one more branch coming up, we're going to simplify the tar out of Series arithmetic ops.


# Note: we use Series instead of TimedeltaIndex to avoid having
# to worry about catching NullFrequencyError.
return pd.Series(right)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather than this can you make a safe method that deals with null frequency, this is a bit odd

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This basically is the safe method to deal with null frequency. I think there will be room to simplify it after we merge dispatch_to_index_op into dispatch_to_extension_op

(I agree that I'd prefer these methods not need to know about Series)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok fair enough, maybe make an issue about this? (or just add to your list) :->

@jreback jreback added Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Timedelta Timedelta data type labels Aug 4, 2019
@jreback jreback added this to the 1.0 milestone Aug 4, 2019
@jreback jreback merged commit 447d2c5 into pandas-dev:master Aug 4, 2019
@jreback
Copy link
Contributor

jreback commented Aug 4, 2019

thanks

@jbrockmendel jbrockmendel deleted the flops2 branch August 4, 2019 23:11
quintusdias pushed a commit to quintusdias/pandas_dev that referenced this pull request Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Missing-data np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate Timedelta Timedelta data type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants