Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Training for Employees You are provided with the dataset of a company which has offices across three cities - Mumbai, Bangalore and New Delhi. The

Training for Employees
You are provided with the dataset of a company which has offices across three cities - Mumbai, Bangalore and New Delhi. The dataset contains the rating (out of 5) of all the employees from different departments (Finance, HR, Marketing and Sales).
4 The company has come up with a new policy that any individual with a rating equal to or below 3 needs to attend a training. Using dataframes, load the dataset and then derive the column' Training' which shows 'Yes' for people who require training and 'No' for those. who do not.
Print the first 5 rows as the output.
Note: You should not sort or modity values in other columns of the dataframe.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions