Python-Machine-Learning icon indicating copy to clipboard operation
Python-Machine-Learning copied to clipboard

Bugfix: pd.DataFrame.dropna(subset=[]) requires a list as input type

Open mquintus opened this issue 8 months ago • 0 comments

This pull request is to fix a bug that occurs due to a change in the Pandas library interface. The interface of pd.DataFrame.dropna() changed. The argument subset no longer accepts inputs of type string.

Expected behavior

All notebook cells execute without errors.

Actual behavior

Two cells don't execute. image image

Problem solution:

Encapsulate string in a list.

mquintus avatar Nov 09 '23 18:11 mquintus