Closed NickleDave closed 6 months ago
This fixes a test that fails because in some cases pandas is converting the labels column to a pandas.arrays.StringArray.
pandas
labels
pandas.arrays.StringArray
I am fixing by just broadening the assertion to check whether isinstance(labels, (numpy.ndarray, pandas.arrays.StringArray)).
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.
dask
dataframe
dask.bag
dask.delayed
This fixes a test that fails because in some cases
pandas
is converting thelabels
column to apandas.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
extradataframe
to squelch a warning we get every time we calldask.bag
anddask.delayed
.