Question: The dataset below shows the dataset for Citigroup global connected bank with trade operations in over 9 0 markets. Citigroup Dataset Using the dataset provided
The dataset below shows the dataset for Citigroup global connected bank
with trade operations in over markets.
Citigroup Dataset
Using the dataset provided above:
a Mention any two libraries that are needed to load and read data.
b Write a code to load a comma separated value csv file in python.
c Outline a line of code to show the first five rows of the dataset.
d Outline a line of code to show the last five rows of the dataset.
e Write a code to check for missing or null values from the dataset.
f Outline a line of code to replace the string values in gender column with
numeric values.
g Using variables of your choice, write a code to train a fit the Decision Tree
Classifier algorithm.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
