-
-
Notifications
You must be signed in to change notification settings - Fork 18.3k
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
ENH: Period ops NaT & timedelta ops #5202
Labels
API Design
Enhancement
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Period
Period data type
Timedelta
Timedelta data type
Comments
Dunno, think you should always have |
of course.....I am talking about adding a subtraction op to datetime like Index (we already support Index + offset), |
17 tasks
3 tasks
jreback
pushed a commit
that referenced
this issue
May 6, 2016
Similar to #5202. Author: sinhrks <[email protected]> Closes #13071 from sinhrks/period_period_sub and squashes the following commits: 0f0951f [sinhrks] BUG: PeriodIndex and Period subtraction error
Closed
One of the OP examples now works:
|
59 tasks
@jreback closeable? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
API Design
Enhancement
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Period
Period data type
Timedelta
Timedelta data type
see related #5200, #4551, #4056
seem that a direct subtraction of PeriodIndexes would accomplish this,
but don't seem to support those types of ops...
This is currently an intersection (with a '-'), but want to do a timedelta like op
Partially supported actuallly
The text was updated successfully, but these errors were encountered: