US · interviewqs.com

Animal classification with python

Data Analysis, Python, Pandas, Data Manipulation,


This email was sent

Is this your brand on Milled? Claim it.

InterviewQs

Animal classification with python

Data Analysis Python Pandas Data Manipulation

Forward this email to a friend or colleague and challenge them to solve it.

Hi, 

Given the following dataframe, write code to list the size of the each animal with the highest weight.

adult animal size weight
0 False cat M 8
1 True dog M 10
2 False cat M 11
3 False fish S 1
4 True dog L 20
5 True cat M 12
6 True cat M 12

Format of output should be:
Animal | Size
                    
____________
Cat | ?
Dog | ?
Fish | ?

Solution will be written in python for premium users.




 

You’ve accumulated 127 questions since joining our email list. Create a premium account to access detailed solutions to each problem (including this one) + our new Case studies.


Was this email forwarded to you? You can join our list here to receive questions

How did you like today's question?

15411 Boischatel, Montreal, QC, H9H1Y7, Canada
Don't want to get these emails anymore? We'll forgive you if you unsubscribe
Are you sure?

Lists help you organize the brands that you care about. Your lists are private to you.