ThuyMo / MachineLearningProblemSets

0 stars 0 forks source link

Thanks! #1

Open coderschoolreview opened 5 years ago

coderschoolreview commented 5 years ago

How many people have the word Chief in their job title?

You should lower the case of "Chief" first to ignore the case status of inner words.

tuanhung303 commented 5 years ago

well done! however, try to use pandas features more often instead of loops from python. For example, with orders per hour, you can try below code

data.groupby(['hour'])['Quantity'].count().reset_index().sort_values(by=['hour'])