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

Workaround pandas bug in datetimes with time zones #3910

Merged
merged 1 commit into from
Nov 20, 2017

Conversation

bolkedebruin
Copy link
Contributor

A bug in to_dict(orient="records") in pandas/core/frame.py prevents
datetimes with time zones to be worked with. This works around the
issue in superset by re-implementing the logic of pandas in the
correct way. Until pandas fixes the issue this code should stay.

pandas-dev/pandas#18372

This closes #1929

cc: @tfellison @rumbin @xrmx

@bolkedebruin bolkedebruin force-pushed the issue-1229 branch 2 times, most recently from 3c8cf6f to 7605648 Compare November 20, 2017 12:44
A bug in to_dict(orient="records") in pandas/core/frame.py prevents
datetimes with time zones to be worked with. This works around the
issue in superset by re-implementing the logic of pandas in the
correct way. Until pandas fixes the issue this code should stay.

pandas-dev/pandas#18372

This closes apache#1929
@mistercrunch
Copy link
Member

Greetings, happy to see you over on this repo!

@mistercrunch mistercrunch merged commit 4ae77ba into apache:master Nov 20, 2017
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
A bug in to_dict(orient="records") in pandas/core/frame.py prevents
datetimes with time zones to be worked with. This works around the
issue in superset by re-implementing the logic of pandas in the
correct way. Until pandas fixes the issue this code should stay.

pandas-dev/pandas#18372

This closes apache#1929
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
A bug in to_dict(orient="records") in pandas/core/frame.py prevents
datetimes with time zones to be worked with. This works around the
issue in superset by re-implementing the logic of pandas in the
correct way. Until pandas fixes the issue this code should stay.

pandas-dev/pandas#18372

This closes apache#1929
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.21.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.21.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error with postgres columns of type "TIMESTAMP WITH TIME ZONE"
2 participants