Class-XII_IP_Revision-3

Class-XII_IP_Revision-3

12th Grade

10 Qs

quiz-placeholder

Similar activities

Ciência de Dados

Ciência de Dados

12th Grade

14 Qs

A1 IIIB - Introducción a Data Science

A1 IIIB - Introducción a Data Science

11th Grade - University

10 Qs

Dataframe

Dataframe

12th Grade

10 Qs

Series & DataFrame [02-07-2021]

Series & DataFrame [02-07-2021]

12th Grade

12 Qs

Pandas

Pandas

12th Grade

10 Qs

12th cs cha13

12th cs cha13

12th Grade

10 Qs

061. Extra Help

061. Extra Help

9th - 12th Grade

5 Qs

Pandas-Series

Pandas-Series

12th Grade

15 Qs

Class-XII_IP_Revision-3

Class-XII_IP_Revision-3

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Preeti Vig

Used 9+ 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?