Sitelet https://web.archive.org/web/20220319231120/https://github.com/plotly/plotly.py/pull/3022
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

Pandas and Numpy datetime serialization fixes #3022

Merged
merged 5 commits into from Jan 14, 2021

Conversation

jonmmease
Copy link
Contributor

@jonmmease jonmmease commented Jan 13, 2021 •

Should close #2518

  • Add support to PlotlyJSONEncoder for numpy datetime64 arrays (1 or more dimensions) (050dd8a)
  • Add support to DataArrayValidator for homogeneous pandas DataFrames of datetime values (46d6a59)

cc @nicolaskruchten

@jonmmease
Copy link
Contributor Author

@jonmmease jonmmease commented Jan 13, 2021

@nicolaskruchten tests green when you have another chance to take a look

@nicolaskruchten
Copy link
Member

@nicolaskruchten nicolaskruchten commented Jan 14, 2021

LGTM! Nice to nail down yet another odd edge case, and a nice fix in the context of the encoder work :) 💃

@nicolaskruchten nicolaskruchten merged commit 03979d1 into master Jan 14, 2021
16 checks passed
@archmoj archmoj deleted the numpy_date_serialization branch Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

2 participants