Class-XII_IP_Revision-3

Class-XII_IP_Revision-3

12th Grade

10 Qs

quiz-placeholder

Similar activities

Python Pandas

Python Pandas

12th Grade

15 Qs

Checkpoint 1 revision

Checkpoint 1 revision

9th - 12th Grade

9 Qs

pandas

pandas

9th Grade - University

8 Qs

Data Science I

Data Science I

12th Grade

10 Qs

A4 IIIB - EDA con Pandas

A4 IIIB - EDA con Pandas

10th Grade - University

10 Qs

Quiz sobre Desenvolvimento de Sistemas

Quiz sobre Desenvolvimento de Sistemas

12th Grade

10 Qs

Python Pandas (ai gen)

Python Pandas (ai gen)

12th Grade

10 Qs

A3 IIIB - Básicas de EDA

A3 IIIB - Básicas de EDA

11th Grade - University

10 Qs

Class-XII_IP_Revision-3

Class-XII_IP_Revision-3

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Preeti Vig

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

1.A two dimensional labelled array that is an ordered collection of columns to store heterogeneous data type is

Series

Numpy Array

Dataframe

Panel

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. 2. How can you create a DataFrame in pandas from a dictionary?

df = pandas.DataFrame.from_dict()

df = pandas.read_dict()

df = pandas.DataFrame(dict)

df = pandas.create.DataFrame()

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

  1. 3. Which of the following will return the column labels of a DataFrame?

  1. df.rows()

  1. df.columns

  1. df.labels()

  1. df.colnames()

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

4.Which method is used to remove rows with missing values?

df.fillna()

df.drop()

df.remove()

df.dropna()

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

5. What does df.shape return?

Number of columns only

Number of rows only

(Number of rows, Number of columns)

Size of each column

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

6. Which function returns the total number of non-null values in each column?

df.count()

df.size()

df.length()

df.notnull()

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

7.How can you read a CSV file into a DataFrame?

df = pandas.read_table('file.csv')

df = pandas.open_csv('file.csv')

df = pandas.read_csv('file.csv')

df = pandas.readfile('file.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?