Skip to content
New issue

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

Problem with documentation #33327

Open
asfimport opened this issue Oct 21, 2022 · 0 comments
Open

Problem with documentation #33327

asfimport opened this issue Oct 21, 2022 · 0 comments

Comments

@asfimport
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant