We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In [12]: pd.__version__ Out[12]: '0.24.0.dev0+1040.g24bce1a5f' In [13]: df = pd.DataFrame({'year': [2015, 2016], ...: 'month': [2, 3], ...: 'day': [4, 5]}) ...: In [14]: pd.to_datetime(df, box=False) Out[14]: 0 2015-02-04 1 2016-03-05 dtype: datetime64[ns] In [15]: pd.to_datetime(df, utc=True) Out[15]: 0 2015-02-04 1 2016-03-05 dtype: datetime64[ns]
These arguments need to be handled directly in this function or the output
pandas/pandas/core/tools/datetimes.py
Line 574 in 24bce1a
In [16]: pd.to_datetime(df, box=False).values Out[16]: array(['2015-02-04T00:00:00.000000000', '2016-03-05T00:00:00.000000000'], dtype='datetime64[ns]') In [17]: pd.to_datetime(df, utc=True).dt.tz_localize('UTC') Out[17]: 0 2015-02-04 00:00:00+00:00 1 2016-03-05 00:00:00+00:00 dtype: datetime64[ns, UTC]
The text was updated successfully, but these errors were encountered:
Hi,
Can my team and I contribute to this issue?
Thanks.
Sorry, something went wrong.
Sure, go for it @evangelineliu
Successfully merging a pull request may close this issue.
These arguments need to be handled directly in this function or the output
pandas/pandas/core/tools/datetimes.py
Line 574 in 24bce1a
Expected Output
The text was updated successfully, but these errors were encountered: