-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
INT: mixin for PeriodIndex / Datetimeindex for common methods #6469
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
Comments
cc @sinhrks you might find this interesting |
Seems to be important.
|
@sinhrks comment here and I'll check/update boxes up top |
Added |
I think most of the bottom 5 listed (next priorities) are actually completed |
Sorry about leaving it a while, updated the list including #10292. |
related to #6469 Author: sinhrks <[email protected]> Closes #13995 from sinhrks/period_repeat and squashes the following commits: c627549 [sinhrks] CLN: Move PeriodIndex.repeat to DatetimeIndexOpsMixin
related to #6469 Author: sinhrks <[email protected]> Closes #13987 from sinhrks/period_getitem and squashes the following commits: 48d187d [sinhrks] CLN: move PeriodIndex.__getitem__ to DatetimeOpsMixin
Equals and isin can be checked off |
I think this has been pushed about as far as it can go, can be closed. |
This has been pushed as far as it can go, closing. |
related #6779
asobject
(BUG: DatetimeIndex.asobject raises ValueError when contains NaT #7544)__unicode__
(API: DatetimeIndex and PeriodIndex have same representation #7602)min/max
(BUG: PeriodIndex.min/max returns int #7609)summary
(API: Datetime-like indexessummary
should output the same format #9116)equals
(BUG/CLN: datetimelike Index.equals may return True with non-Index #13986)isin
unique
(BUG/API: PeriodIndex.unique returns ndarray #7540, BUG: PeriodIndex.unique results in Int64Index #7843)value_counts
(BUG: DTI.value_counts doesnt preserve tz #7735)resolution
(API: Add PeriodIndex.resolution #7708)__iter__
(BUG: DatetimeIndex.__iter__ creates a temp array of Timestamp (GH7683) #7702, BUG: DatetimeIndex.__iter__ creates a temp array of Timestamp (GH7683) #7709, PERF: improve perf of index iteration (GH7683) #7720)__add__
,__iadd__
,__sub__
,__isub__
(ENH/BUG: DatetimeIndex and PeriodIndex in-place ops behaves incorrectly #7741)__getitem__
(BUG: TimedeltaIndex slicing may reset freq #10292, forDatetimeIndex
andTimedeltaIndex
) (CLN: move PeriodIndex.__getitem__ to DatetimeIndexOpsMixin #13987, forPeriodIndex
)repeat
(CLN: Move PeriodIndex.repeat to DatetimeIndexOpsMixin #13995)NaT
related methods / property.hasnans
,_isnan
,_na_value
(CLN: move _na_value to DatetimeIndexOpsMixin #13997)next priorities:
get_duplicates
repeat
get_value
/get_value_maybe_box
searchsorted
argmin
/argmax
The text was updated successfully, but these errors were encountered: