You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fillna with dask DataFrame raises ValueError #8823
What happened:
Attempted to use a.fillna(b) on a Dask DataFrame a with another Dask DataFrame b provided as the fill value. This raised the error ValueError: invalid fill value with a <class 'numpy.ndarray'>
What you expected to happen:
A new Dask DataFrame returned containing the non-nan values of a and nan values replaced by the equivalent values from b
Activity
jsignell commentedon Mar 22, 2022
Thanks for writing this up @tangoed2whiskey! This seems like a reasonable case to support. As a workaround you can do:
So if you are interested in opening a pull request to enhance
fillnato accept dask dataframes, you can probably just pass the operation off towhere.