Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this assignment, you will need to work on Microsoft Malware Prediction problem. Here is the link to download data from Kaggle. Please make sure

In this assignment, you will need to work on Microsoft Malware Prediction problem. Here is the link to download data from Kaggle. Please make sure to download train.csv file https://www.kaggle.com/c/microsoft-malware-prediction/data First, as part of preparing and understanding the data, you need to write a code to do the following: 1) Load the data set into a pandas dataframe and see how many variables in the data set, and what are their data types. Since the size of the dataset is too big for your memory size, you can try to read a small sample like 1000 records using the following code: pd.read_csv("train.csv", nrows = 1000) 2) Examine data types of the variables 3) Shows the top 5 rows of the data frame 4) Encode string values (if any) to integers 5) Once again, examine data types of the variables 6) Produce some histograms of the variables 7) You need to provide analysis of the missing value percentage in each variable. You can use the following code: Panda_dataframe.isnull().sum() 8) You need to show the total number of missing values in all variables using the following code: #The sum of the missing values in each variabledataset.isnull().sum() Panda_dataframe .isnull().sum().sum() Please review the German credit code to work on the assignment.

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

Data Analysis In Microsoft Excel

Authors: Alex Holloway

1st Edition

B0CCCPKTTX, 979-8852388452

More Books

Students also viewed these Databases questions

Question

...........

Answered: 1 week ago