GirlsWhoML-W1

GirlsWhoML-W1

University

10 Qs

quiz-placeholder

Similar activities

pandas

pandas

9th Grade - University

8 Qs

23S1 1906

23S1 1906

University

11 Qs

Julia

Julia

University

10 Qs

A3 IIIB - Básicas de EDA

A3 IIIB - Básicas de EDA

11th Grade - University

10 Qs

Web Scraping 102 - Quiz 2

Web Scraping 102 - Quiz 2

University

15 Qs

Analyse de données avec R (introduction au cours)

Analyse de données avec R (introduction au cours)

University

10 Qs

Graficas con matlab y pandas

Graficas con matlab y pandas

University

10 Qs

Quiz 10

Quiz 10

University

10 Qs

GirlsWhoML-W1

GirlsWhoML-W1

Assessment

Quiz

Computers

University

Medium

Created by

NOOR NABEELAK

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you load a CSV file in Pandas?

pd.read_csv('file_path.csv')
pd.import_csv('file_path.csv')
pd.load_csv('file_path.csv')
pd.open_csv('file_path.csv')

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does df.head() do in Pandas?

df.head() displays the entire DataFrame.
df.head() returns the last 5 rows of a DataFrame.
df.head() returns the first 5 rows of a DataFrame.
df.head() summarizes the DataFrame's statistics.

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In which step of ML do we remove missing values and handle outliers?

Feature selection
Data visualization
Model training
Data preprocessing

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you filter rows where the 'Age' column is greater than 30?

df[df['Age'] == 30]

df[df['Age'] >30]

df[df['Age'] >= 30]

df[df['Age'] < 30]

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the purpose of feature scaling in machine learning?

To improve the performance of the model

To increase the size of the dataset

To reduce the number of features

To visualize the data better

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How can you check for missing values in a DataFrame?

df.isnull()

df.check_missing()

df.hasna()

df.missing_values()

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you save a DataFrame to a new CSV file?

df.to_csv('filename.csv', include_index=True)
df.write.csv('filename.csv')
df.to_csv('filename.csv', index=False)
df.save('filename.csv')

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?