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

03_preprocessing.ipynb code for dropping nan values

Open leahhrlee opened this issue 1 year ago • 1 comments

Version issues: Some participants have issues with: data = data.dropna(subset='sex')

Fixed by using: data = data.dropna(subset=['sex'])

leahhrlee avatar Oct 04 '23 21:10 leahhrlee

The same line of codes used for "Combine it all together" section in the same notebook (03_preprocessing)

leahhrlee avatar Oct 04 '23 21:10 leahhrlee