Sjmit-Q2-[Workshop-MAR-25]

Sjmit-Q2-[Workshop-MAR-25]

12th Grade

20 Qs

quiz-placeholder

Similar activities

PYTHON PANDAS SERIES

PYTHON PANDAS SERIES

12th Grade

20 Qs

PyGame

PyGame

University

20 Qs

Teknologi WAN XI TKJ

Teknologi WAN XI TKJ

University

20 Qs

Python - TEI FatecPG - P2

Python - TEI FatecPG - P2

University

25 Qs

Pandas Series & DataFrames

Pandas Series & DataFrames

12th Grade

20 Qs

GenG Data Science Quiz

GenG Data Science Quiz

University

15 Qs

Pyspark MLib

Pyspark MLib

University

20 Qs

Python CSV and Pandas

Python CSV and Pandas

12th Grade

20 Qs

Sjmit-Q2-[Workshop-MAR-25]

Sjmit-Q2-[Workshop-MAR-25]

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Manjunatha M

Used 1+ times

FREE Resource

AI

Enhance your content

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What function is used to create a Numpy array from a list?

numpy.array

numpy.create_array

numpy.array_from_list

numpy.list

2.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

How do you create a 2D Numpy array with shape (3, 4)?

numpy.ones((4, 3))

numpy.zeros((3, 4))

numpy.empty((2, 6))

numpy.array((3, 4))

3.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

What is the default data type of a Numpy array if not specified?

int32

complex128

float64

float32

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How can you access the first element of a Numpy array named 'arr'?

arr.first()

arr.get(0)

arr[1]

arr[0]

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What method is used to create a Pandas DataFrame from a dictionary?

pd.DataFrame()

pd.createDataFrame()

pd.DataFrameBuilder()

pd.DataFrameFromDict()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you display the first 5 rows of a DataFrame in Pandas?

df.slice(0, 5)

df.head()

df.show(5)

df.first(5)

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What function is used to check for missing values in a DataFrame?

checknull()

findMissing()

isna()

isnull()

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