-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Improve the speed of from_dataframe with a MultiIndex (by 40x!) #4184
Merged
Commits on Jun 26, 2020
-
Configuration menu - View commit details
-
Copy full SHA for c340961 - Browse repository at this point
Copy the full SHA c340961View commit details -
Improve the speed of from_dataframe with a MultiIndex
Fixes pydataGH-2459 Before: pandas.MultiIndexSeries.time_to_xarray ======= ========= ========== -- subset ------- -------------------- dtype True False ======= ========= ========== int 505±0ms 37.1±0ms float 485±0ms 38.3±0ms ======= ========= ========== After: pandas.MultiIndexSeries.time_to_xarray ======= ========= ========== -- subset ------- -------------------- dtype True False ======= ========= ========== int 11.5±0ms 39.2±0ms float 12.5±0ms 26.6±0ms ======= ========= ========== There are still some cases where we have to fall back to the existing slow implementation, but hopefully they should now be relatively rare.
Configuration menu - View commit details
-
Copy full SHA for aa5a7dd - Browse repository at this point
Copy the full SHA aa5a7ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for cde5aff - Browse repository at this point
Copy the full SHA cde5affView commit details
Commits on Jun 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4136dc6 - Browse repository at this point
Copy the full SHA 4136dc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41556d2 - Browse repository at this point
Copy the full SHA 41556d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3e2d2d - Browse repository at this point
Copy the full SHA f3e2d2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e648448 - Browse repository at this point
Copy the full SHA e648448View commit details -
Configuration menu - View commit details
-
Copy full SHA for f50ba68 - Browse repository at this point
Copy the full SHA f50ba68View commit details
Commits on Jun 30, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 0383aa1 - Browse repository at this point
Copy the full SHA 0383aa1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ac4557 - Browse repository at this point
Copy the full SHA 9ac4557View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96b544b - Browse repository at this point
Copy the full SHA 96b544bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b51939 - Browse repository at this point
Copy the full SHA 8b51939View commit details
Commits on Jul 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for ecaa332 - Browse repository at this point
Copy the full SHA ecaa332View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.