Python Quiz - 2.6

Python Quiz - 2.6

University

12 Qs

quiz-placeholder

Similar activities

C# Chapter 6

C# Chapter 6

University

10 Qs

DP02

DP02

University

8 Qs

NumpyPandas

NumpyPandas

University

10 Qs

Python Workshop Day - 2

Python Workshop Day - 2

University

15 Qs

Python Basics

Python Basics

KG - University

15 Qs

Section 7: Security (1-5)

Section 7: Security (1-5)

University

17 Qs

Ch 2  - Accessing Data - Part 1

Ch 2 - Accessing Data - Part 1

University

12 Qs

ICS113_Unix Commands

ICS113_Unix Commands

University

7 Qs

Python Quiz - 2.6

Python Quiz - 2.6

Assessment

Quiz

Computers

University

Hard

Created by

Rahul Mahato

Used 2+ times

FREE Resource

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

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?