You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ihor Bobak (Jira)" <ji...@apache.org> on 2022/10/21 14:22:00 UTC
[jira] [Created] (ARROW-18130) Problem with documentation
Ihor Bobak created ARROW-18130:
----------------------------------
Summary: Problem with documentation
Key: ARROW-18130
URL: https://issues.apache.org/jira/browse/ARROW-18130
Project: Apache Arrow
Issue Type: Bug
Components: Documentation
Reporter: Ihor Bobak
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)