Skip to content

CI: Fixed bug causing flaky test failure in pivot#6752

Merged
TomAugspurger merged 1 commit intodask:masterfrom
TomAugspurger:xfail-flaky-test_pivot_table
Oct 20, 2020
Merged

CI: Fixed bug causing flaky test failure in pivot#6752
TomAugspurger merged 1 commit intodask:masterfrom
TomAugspurger:xfail-flaky-test_pivot_table

Conversation

@TomAugspurger
Copy link
Member

When a partition had unobserved categories, the result MultiIndex would
have the right dtype but not the right shape. This caused the concat
to later cast to object dtype, causing the test failure.

The fix is to not drop the all-NA columns.

Closes #6729

When a partition had unobserved categories, the result MultiIndex would
have the right dtype but not the right shape. This caused the `concat`
to later cast to object dtype, causing the test failure.

The fix is to not drop the all-NA columns.

Closes dask#6729
@TomAugspurger TomAugspurger merged commit cb3543b into dask:master Oct 20, 2020
@TomAugspurger TomAugspurger deleted the xfail-flaky-test_pivot_table branch October 20, 2020 13:31
kumarprabhu1988 pushed a commit to kumarprabhu1988/dask that referenced this pull request Oct 29, 2020
When a partition had unobserved categories, the result MultiIndex would
have the right dtype but not the right shape. This caused the `concat`
to later cast to object dtype, causing the test failure.

The fix is to not drop the all-NA columns.

Closes dask#6729
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky test_pivot_table

1 participant