Quiz3

Quiz3

University

15 Qs

quiz-placeholder

Similar activities

A3 IIIB - Básicas de EDA

A3 IIIB - Básicas de EDA

11th Grade - University

10 Qs

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

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

University

10 Qs

Pandas Package

Pandas Package

University

13 Qs

DataFrame Revision

DataFrame Revision

11th Grade - University

10 Qs

Cuestionario de Inteligencia Artificial

Cuestionario de Inteligencia Artificial

University

20 Qs

Beginner Quiz on ML and Python Basics

Beginner Quiz on ML and Python Basics

University

20 Qs

Data Science (Data Preparation & Visualitation)/Pandas Python

Data Science (Data Preparation & Visualitation)/Pandas Python

University

20 Qs

Midterm Exam - DV - Part 1

Midterm Exam - DV - Part 1

University

20 Qs

Quiz3

Quiz3

Assessment

Quiz

Computers

University

Medium

Created by

Sabina Adhikari

Used 10+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function name that reads the csv file?

read-csv()

read_csv()

readcsv()

read_csv

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the best correct way to save the csv file?

to_csv(save_file.csv)

to_csv('save_file')

to_csv('save_file.csv')

save_csv('save_file.csv')

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

What is/are the correct way/s to get the column 'Region' only?

df['Region']

df.iloc[: , 2]

df.iloc[2]

df[:, 2]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the correct way to get the rows with 'ID' = 3 and 'ID' = 5?

df.iloc[[2, 4]]

df.iloc[[3, 5]]

df.iloc[3:5]

df.iloc[2:6]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What attribute returns the column labels in pandas?

DataFrame.titles

DataFrame.titles()

DataFrame.columns

DataFrame.columns()

6.

OPEN ENDED QUESTION

1 min • 1 pt

Explain token and delimiter with examples.

Evaluate responses using AI:

OFF

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

string1 = 'hello world how are you'

output_final = ['hello', 'world', 'how', 'are', 'you']

What is/are the correct method/s to get the output_file using string1?

string1.split()

string1.split(' ')

string1.split(', ')

string1.split('_')

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?