Class-XII_IP_Revision-3

Class-XII_IP_Revision-3

12th Grade

10 Qs

quiz-placeholder

Similar activities

063. Extra Help

063. Extra Help

9th - 12th Grade

5 Qs

Uses of JSON and CSV

Uses of JSON and CSV

9th - 12th Grade

9 Qs

Tale ES deep learning

Tale ES deep learning

12th Grade

15 Qs

Python CSV and Pandas

Python CSV and Pandas

12th Grade

7 Qs

csv and DataFrame

csv and DataFrame

12th Grade

10 Qs

DATAFRAME AND SERIES

DATAFRAME AND SERIES

12th Grade

10 Qs

Data Handling Introduction

Data Handling Introduction

12th Grade

10 Qs

DATAFRAME

DATAFRAME

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?