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

Reimplement pandas deconstruction #1238

Merged
merged 4 commits into from
Dec 22, 2020
Merged

Reimplement pandas deconstruction #1238

merged 4 commits into from
Dec 22, 2020

Conversation

timkpaine
Copy link
Member

@timkpaine timkpaine commented Oct 28, 2020

Pivoted Pandas dataframe deconstruction is fundamentally broken in our current state, as exhibited by a few issues (#1122, #1123, etc). This PR rectifies that problem by better deconstructing pivoted data frames.

Also changed:

Notebooks and test cases for new pandas behavior updated/added.

@timkpaine timkpaine added bug Concrete, reproducible bugs enhancement Feature requests or improvements Python labels Oct 28, 2020
@sc1f sc1f mentioned this pull request Oct 29, 2020
@timkpaine timkpaine requested review from sc1f and texodus and removed request for sc1f October 29, 2020 19:28
Copy link
Contributor

@sc1f sc1f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we split the commits where we run black into a separate PR? There's too much reformatting noise to discern the real changes as part of this PR.

Copy link
Contributor

@sc1f sc1f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked out locally - changes, examples and reformatting look good. @texodus we should probably merge this first and rebase, or manually split it into two PRs just so that other PRs aren't mired in merge issues.

Thanks for fixing the datetime issue! It is only a fix for the Python widget side - for a more comprehensive fix we need to target the date parser in JS/C++ and make it more user-friendly.

@texodus
Copy link
Member

texodus commented Dec 22, 2020

Looks good! Thanks for the PR!

@texodus texodus merged commit 3bea4bc into master Dec 22, 2020
@texodus texodus deleted the pandas_repivot branch December 22, 2020 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs enhancement Feature requests or improvements Python
Projects
None yet
3 participants