Search Header Logo

EDA_DataCleaning

Authored by Puneet Kansal

Computers

University

Used 9+ times

EDA_DataCleaning
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

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

()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?