EDA_DataCleaning

EDA_DataCleaning

University

30 Qs

quiz-placeholder

Similar activities

Java Collections

Java Collections

University

31 Qs

SQL QUIZ-2

SQL QUIZ-2

University

30 Qs

BTEC DIT Component 2 Super Quiz

BTEC DIT Component 2 Super Quiz

1st Grade - University

26 Qs

Collections

Collections

University - Professional Development

30 Qs

Midterm Exam - Info Vis - Part 2

Midterm Exam - Info Vis - Part 2

University

32 Qs

Method in Java

Method in Java

University

26 Qs

Data Analysis with Python 1

Data Analysis with Python 1

University

30 Qs

.Data Analysis Essentials: Tools, Techniques, and Applications.

.Data Analysis Essentials: Tools, Techniques, and Applications.

University

34 Qs

EDA_DataCleaning

EDA_DataCleaning

Assessment

Quiz

Computers

University

Hard

Created by

Puneet Kansal

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following methods gives a quick statistical summary of Statistical columns in a DataFrame?

df.head()

df.describe()

df.value_counts()

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which method removes all rows that contain at least one NaN value?

df.remove_na()

df.dropna()

df.clean()

df.fillna(0)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following fills all missing values in a column with 0?

df.fillna(0)

df.dropna(0)

df.replace(0)

df.nullfill(0)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will df.isnull().sum() return?

Boolean DataFrame

Number of nulls per row

Number of nulls per column

Total null count in the DataFrame

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How to fill missing values in column 'age' with the column’s median?

df['age'].fillna('median')

df['age'].fillna(df['age'].mean())

df['age'].fillna(df['age'].median())

df.fill_missing(df['age'])

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which command gives total number of missing values in entire DataFrame?

df.countna()

df.isnull().sum()

df.isnull().sum().sum()

df.check().na()

7.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which method forward fills missing values?

df.fillna(method='backward')

df.fillna(method='forward')

df.fillna(method='ffill')

df.ffill

()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?