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

TST: Fix test in common.labels #747

Merged
merged 2 commits into from
May 1, 2024
Merged

Conversation

NickleDave
Copy link
Collaborator

This fixes a test that fails because in some cases pandas is converting the labels column to a pandas.arrays.StringArray.

I am fixing by just broadening the assertion to check whether isinstance(labels, (numpy.ndarray, pandas.arrays.StringArray)).

I need to investigate further but it doesn't seem to be breaking anything else right now.

I also added the dependency on the dask extra dataframe to squelch a warning we get every time we call dask.bag and dask.delayed.

@NickleDave NickleDave merged commit e2c1a71 into main May 1, 2024
1 check was pending
@NickleDave NickleDave deleted the fix-failing-test-in-common-labels branch May 1, 2024 23:17
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.

1 participant