DATAFRAME AND SERIES

DATAFRAME AND SERIES

12th Grade

10 Qs

quiz-placeholder

Similar activities

Microsoft Excel էլեկտրոնային աղյուսակ

Microsoft Excel էլեկտրոնային աղյուսակ

12th Grade

10 Qs

Quiz Arduino & Buzzer

Quiz Arduino & Buzzer

9th - 12th Grade

15 Qs

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

19W Final Exam - PLTW

19W Final Exam - PLTW

9th - 12th Grade

15 Qs

Python

Python

7th - 12th Grade

15 Qs

kiểm tra 15p - lần 1 - HKII - khối 10

kiểm tra 15p - lần 1 - HKII - khối 10

9th - 12th Grade

10 Qs

АЛГОРИТМІЗАЦІЯ 7 КЛ частина 1

АЛГОРИТМІЗАЦІЯ 7 КЛ частина 1

12th Grade

12 Qs

Recap

Recap

12th Grade

10 Qs

DATAFRAME AND SERIES

DATAFRAME AND SERIES

Assessment

Quiz

Computers

12th Grade

Medium

Created by

VRINDA SUKANYA

Used 68+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Given a Pandas series called Marks, the command which will display the first 3 rows is .

print(Marks.head(3))

print(Marks.Head(3))

print(Marks.heads(3)

print(Marks.Heads(3))

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. Given the following Series A1 and A2: 1

A1 A2

a 20 a 70

b 10 b 30

c 24 c 84

d 70 d 80

Write the command to find the sum of series A1 and A2

A1+A2

sum(A1,A2)

a1+a2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The __________ attribute of a dataframe object returns the row labels of a dataframe.

columns

Columns

Index.Values

index.values

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Say true or false, A Dataframe object is mutable.

True

False

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

DataFramedf

Age Name

rank1 28 Tom

rank2 34 Jack

rank3 29 Steve

rank4 42 Ricky

Find out the command used to get the following output from the above dataframe,

Age

rank1 28

rank2 34

rank3 29

rank4 42

Print(df[‘Age’])

print(df[‘Age’])

print(df(‘Age’))

Print(df[‘Age’], axis=1)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The instructor wants to know the age of the persons with rank3. Help her to identify the correct set of statement/s from the given options:

a) Print(df.loc[‘rank3’])

b) print(df.iloc[‘rank3’])

c) print(df.loc[‘rank3’])

d) Print(df.loc(‘rank3’))

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statement/s will give 2 rows from bottom of the dataframe ?

Print(df.tail())

print(df.tail(2))

print(df.tail[2])

print(df.tail(4))

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers