-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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: Add pd.to_period #14108
Comments
If we follow the same policy as #8254, |
IMO that is not needed. The current |
The PeriodArray PR is adding a The only thing that won't handle is scalars. Is that OK? I think that case is already covered by |
A |
@jorisvandenbossche, do you have an example in mind?
|
Would return
Period
orPeriodIndex
, analogous to functions liketo_datetime
andto_timedelta
.xref #5886
xref #14048
cc @sinhrks
The text was updated successfully, but these errors were encountered: