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
There is a code
pdf = pd.DataFrame({'naive': [datetime(2019, 1, 1, 0)],
'aware': [Timestamp(year=2019, month=1, day=1,
nanosecond=500, tz=timezone(timedelta(hours=-8)))]})
which definitely creates a timestamps of 2019-01-01, but one line after it goes the output:
pdf
naive aware
0 2018-10-01 2018-10-01 00:00:00.000000500-08:00
How it can be 2018-10-01? This is definitely wrong.
On this page
https://arrow.apache.org/docs/python/timestamps.html
There is a code
pdf = pd.DataFrame({'naive': [datetime(2019, 1, 1, 0)],
'aware': [Timestamp(year=2019, month=1, day=1,
nanosecond=500, tz=timezone(timedelta(hours=-8)))]})
which definitely creates a timestamps of 2019-01-01, but one line after it goes the output:
pdf
naive aware
0 2018-10-01 2018-10-01 00:00:00.000000500-08:00
How it can be 2018-10-01? This is definitely wrong.
Reporter: Ihor Bobak
Note: This issue was originally created as ARROW-18130. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: