Python-Machine-Learning
Python-Machine-Learning copied to clipboard
Bugfix: pd.DataFrame.dropna(subset=[]) requires a list as input type
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.
Problem solution:
Encapsulate string in a list.