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 90 markets.
Citigroup Dataset
Using the dataset provided above:
a) Mention any two (2) libraries that are needed to load and read data.
[4]
b) Write a code to load a comma separated value (csv) file in python.
[4]
c) Outline a line of code to show the first five (5) rows of the dataset.
[2]
d) Outline a line of code to show the last five (5) rows of the dataset.
[2]
e) Write a code to check for missing or null values from the dataset.
4
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. [5]
The dataset below shows the dataset for Citigroup

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!