GirlsWhoML-W1

GirlsWhoML-W1

University

10 Qs

quiz-placeholder

Similar activities

Quiz

Quiz

University

13 Qs

Network Layer

Network Layer

University

15 Qs

ICS113_Unix Commands

ICS113_Unix Commands

University

7 Qs

OSI LAYER

OSI LAYER

KG - Professional Development

10 Qs

Multimedia Interaktif

Multimedia Interaktif

12th Grade - University

10 Qs

Layered Network Models

Layered Network Models

University

10 Qs

Introduction of Flash

Introduction of Flash

12th Grade - University

15 Qs

Quiz Berhadiah Ceria

Quiz Berhadiah Ceria

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?