Question 26
A Pandas dataframe DF has a column named salary_range which contains the salary details of 10000 employees of a firm binned as medium, high, and very high. You are interested in finding out the number of employees in each category of salary_range. Which of the following commands will help you to achieve this goal?
DF[‘salary_range’].bin_count()
DF[‘salary_range’].value_counts()
DF$‘salary_range.bin_count()
DF$‘salary_range.value_counts()