ENH: Add pd.to_period
See original GitHub issue
Top Results From Across the Web
ENH: Support datetime.date in Period Index · Issue #10798 · pandas ...
PeriodIndexs should resolve when datetime.date is passed into in, but doesn't. Example below. Tracing this through, it looks like parse_time_string is ...
Read more >pandas.Series.dt.to_period — pandas 1.5.2 documentation
Converts DatetimeArray/Index to PeriodArray/Index. Parameters. freqstr or Offset, optional. One of pandas' offset strings or an Offset object. Will be ...
Read more >Defining Absence Entitlement Elements - Oracle Help Center
Add. When entitlement is resolved. VACATION_TAKE (units paid) ... Values are stored on the absence results table and carried forward from period to...
Read more >MAR50 - Credit valuation adjustment framework
This chapter sets out how to calculate capital requirements to cover credit valuation adjustment risk.
Read more >Efficacy of Proximal Aspiration Thrombectomy for Using ...
... with period-to-period analysis (period 1 : standard MT without PAT; period 2 : PAT first, then standard MT for the remaining occlusion)....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
IMO that is not needed. The current
Index.to_datetime
was for parsing non-time values to datetime (wich is the core business ofpd.to_datetime
). WhereDatetimeIndex/Timestamp.to_period
andPeriodIndex/Period.to_timestamp
are methods for converting between the different time representations.If we follow the same policy as #8254,
DatetimeIndex.to_period
should be deprecated in favor of this.