-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
REGR: concat of unaligned empty DataFrames failing #39037
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
Labels
Bug
Needs Tests
Unit test(s) needed to prevent regressions
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
Milestone
Comments
Another failing case from the dask tests:
This now gives "float64" dtype for the result, while the original "b" column was an object dtype with strings. |
@jorisvandenbossche fixed in #39035? |
Yes, but I still need to add tests for the cases shown above. |
sure. good first issue? |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
Needs Tests
Unit test(s) needed to prevent regressions
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
While trying to get dask's CI passing (dask/dask#6996), I noticed another error related to concat. Dask concatenates the empty "meta" dataframe to know the shape/dtypes of the resulting dataframe, and something is failing in there now.
Small reproducer without dask:
It occurs when reindexing happens (not fully aligned dataframes), and apparently at least 3 dataframes are needed to trigger it (the same example with only 2 dataframes passed to concat doesn't fail).
I suppose this might be related to #38843 (change only on master, so not a target for 1.2.1) cc @jbrockmendel
The text was updated successfully, but these errors were encountered: