Re:Data Science: Reality Doesn't Meet Expectations
by plants on Wednesday April 08, 2020 @10:30AM
(#22813251)
gender.lower().startswith('m')... done! :)
Re:Data Science: Reality Doesn't Meet Expectations
by bart_spoon on Wednesday April 08, 2020 @11:03AM
(#22813558)
Except a real dataset will have its fair share of "nale", "amle", etc.
First homework assignment in the stats class I teach is to clean data that the class generated with directions they all perceived as clear. It's near about the most hated assignment I have ever given. Amazing how many ways there are to encode gender of a experimental participant.
Male, M, m, male, Man, ...