Search Header Logo

Python Quiz - 2.6

Authored by Rahul Mahato

Computers

University

Used 2+ times

Python Quiz - 2.6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

State whether the following statement is true or false?

The read_csv method, by default, reads all blank lines of an input CSV file.

False

True

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used as an argument of read_csv method to skip first n lines of an input CSV file?

skip

skipn

skipnrows

skiprows

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

________ is used as an argument of the readcsv method to make data of a specific column as an index.

index

id

id_col

index_col

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following method is used to write a data frame data to an output CSV file?

csv_write

write_csv

to_csv

csv_writer

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following method is used to convert a list of dates like strings into datetime objects?

datetime

date

to_datetime

to_date

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

By default, missing values in any data set are read as ...........

NA

NaN

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following method is used to fill null values with a deafult value?

fill

keepna

fillna

keep

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?