You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we achieve a bit more consistency in our interfaces if we alias .to_numpy() to .to_datetime64() and .to_timedelta64() for Timedelta and Timestamp respectively.
What should we do for the to_numpy() keyword arguments? Neither dtype nor copy make sense in the case of a scalar. Just let it raise the TypeError if either is passed, or accept the arguments and do nothing?
I think we achieve a bit more consistency in our interfaces if we alias
.to_numpy()
to.to_datetime64()
and.to_timedelta64()
forTimedelta
andTimestamp
respectively.xref https://github.com/pandas-dev/pandas/pull/24486/files#diff-26a6d2ca7adfca586aabbb1c9dd8bf36L235
The text was updated successfully, but these errors were encountered: