Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The employees.csv file contains information about employees of a company with following information: First Name', 'Gender', 'Start Date', 'Last Login Time', 'Salary', 'Bonus % '
The employees.csv file contains information about employees of a company with following information: First Name', 'Gender', 'Start Date', 'Last Login Time', 'Salary', 'Bonus 'Senior Management', 'Team' Read the csv file and provide summary of the DataFrame by printing the object. Fill all the null values in Gender column with No Gender and 'Senior Management' column with Dont Know. Using the fillna fillna with method ffill and interpolate function to fill the missing values in 'Salary', 'Bonus columns and calculate the average mean salary and bonus for each method. Filter the rows to only show employee with Salaries K Print the names of male and female employees with highest and lowest salaries. For each Team, calculate the minimum and maximum salaries. Find the maximum and average salary of Male and Female as different groups. For each combination of Team and Gender, calculate the mean salary. Check the number of rows and columns and drop those rows if 'any' values are missing in a row. Find all the employees whose bonuses are in the range of and Find the total salary of each employee by considering both base salary and bonus and add it as an extra column Total Salary at the end. Sort the dataset with 'Start Date' and replace it as the index. Find the employees who joined in the years between Use apply to find the difference between Max and Min Salary and Max and Min Bonus.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started