Practical File Questions
Practical File Questions
Reference data below first to be made into csv file and then question needed to be done.
Q-1) (A) Group the data by department and find average salary in each department.
(B) Group the data by gender and find the total salary for each gender.
(C) Group by both department and gender and find the maximum salary in each group.
Q-3) Filter and display only those departments where average salary is greater than 60000.
Q-4) Use the .tranform() to create a new column that shows each employee’s salary as a
percentage of their department’s average salary.
Q-5) Use .apply() function to find standard deviation of experience within each department.
Task: