Dataframe

Dataframe

10th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

B Words GCSE Computer Science

B Words GCSE Computer Science

1st - 10th Grade

15 Qs

Java Basics (Data Types and Variables)

Java Basics (Data Types and Variables)

6th - 10th Grade

16 Qs

BTEC Digital Information Technology: Component 2 - Learning Aim A

BTEC Digital Information Technology: Component 2 - Learning Aim A

9th - 11th Grade

15 Qs

Machine learning

Machine learning

10th Grade

10 Qs

Pewdiepie

Pewdiepie

5th - 12th Grade

7 Qs

Unit 2 Information Categories

Unit 2 Information Categories

11th - 12th Grade

16 Qs

PARTS OF MOTHERBOARD

PARTS OF MOTHERBOARD

10th Grade

10 Qs

10° Bimestral informática 3° periodo

10° Bimestral informática 3° periodo

10th Grade

10 Qs

Dataframe

Dataframe

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

Suman Joshi

Used 156+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Full form of NaN is

Not a Null

Not a Number

Not a Numeric

None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Data structures in Pandas can be mutated in the terms of ____ but not of _____.

size, value

value, size

semantic, size

none of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

pandas is a:

Data Structure

Series

Dataframe

Library

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the output for the following:

import pandas as pd1

s = pd1.Series(5, index=[0, 1, 2, 3])

print(s)

0 5

0 5

1 5

2 5

3 5

dtype: int64

1 5

2 5

2 5

4 5

dtype: int64

0 5

1 5

2 5

3 5

dtype: object

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

write the output:

import pandas as pd1

s = pd1.Series([1,2,3])

t = pd1.Series([1,2,4])

u=s-t

print (u)

0 1

1 0

2 1

dtype: int64

0 0

1 0

2 1

dtype: int64

0 0

1 0

2 -1

dtype: float64

0 0

1 0

2 -1

dtype: int64

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

write the output:

import pandas as pd

s=pd.Series([1,2,3,4],index=['a','b','c','d'])

print(s.iloc[2:4])

b 2

c 3

d 4

dtype: int64

b 3

c 4

dtype: int64

c 3

d 4

dtype: int64

none of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

write the output:

import pandas as pd

s=pd.Series([1,2,3,4],index=['a','b','c','d'])

print(s.loc['b':'d'])

b 2

c 3

d 4

dtype: float64

b 2

c 3

d 4

dtype: object

c 3

d 4

dtype: int64

b 2

c 3

d 4

dtype: int64

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?