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
In [7]: pd.to_datetime(pd.Timestamp(2018,1,1), utc=True)
Out[7]: Timestamp('2018-01-01 00:00:00')
# This should raise
In [7]: pd.to_datetime(pd.Timestamp(2018,1,1, tz='US/Pacific'), utc=True)
Out[7]: Timestamp('2018-01-01 00:00:00')
The text was updated successfully, but these errors were encountered:
mroeschke
changed the title
BUG: to_datetime(Timestamp, box=False) doesn't return numpy.datetime64
BUG: to_datetime(Timestamp) ignores box and utc arguments
Dec 24, 2018
Sure thing. I'd agree that to_datetime should prioritize keeping values in pandas data structures. Let's create a new issue regarding the deprecation of box in to_datetime and to_timedelta
mroeschke
changed the title
BUG: to_datetime(Timestamp) ignores box and utc arguments
BUG: to_datetime(Timestamp) utc argument
Dec 24, 2018
The text was updated successfully, but these errors were encountered: