Repository navigation
[DataFrame] Fixes dropna subset bug - #2018
Conversation
|
Test FAILed. |
|
Test PASSed. |
devin-petersohn
left a comment
There was a problem hiding this comment.
One minor fix, thanks for getting this in!
|
|
||
| if subset is not None: | ||
| subset = set(subset) | ||
| axis = pd.DataFrame()._get_axis_number(axis) |
There was a problem hiding this comment.
This needs to get moved back:
In [3]: df2.dropna(axis=12, how='whatever')
ValueError: No axis named 12 for object type <class 'pandas.core.frame.DataFrame'>|
Test PASSed. |
* master: [xray] Fix UniqueID hashing for object and task IDs. (ray-project#2017) [DataFrame] Fixing bugs in groupby (ray-project#2031) [DataFrame] Fixes dropna subset bug (ray-project#2018)
* master: [xray] Fix UniqueID hashing for object and task IDs. (ray-project#2017) [DataFrame] Fixing bugs in groupby (ray-project#2031) [DataFrame] Fixes dropna subset bug (ray-project#2018) [DataFrame] Implement where (ray-project#1989)
This fixes the bug where
subsetwas not used correctly when passed intodf.dropna.