Python for Data Analysis Quiz 10

Python for Data Analysis Quiz 10

University

10 Qs

quiz-placeholder

Similar activities

POSTGRE SERIES 2

POSTGRE SERIES 2

University

10 Qs

Together We Grow - 2

Together We Grow - 2

University

15 Qs

Data Structure 1

Data Structure 1

University

10 Qs

Desafío NumPy para Estudiantes

Desafío NumPy para Estudiantes

University

15 Qs

Post-test array c++

Post-test array c++

University

10 Qs

PLACEMENT TEST DATA LITERATURE

PLACEMENT TEST DATA LITERATURE

University

10 Qs

Array - C++ Programming

Array - C++ Programming

University

9 Qs

Java Arrays

Java Arrays

5th Grade - University

10 Qs

Python for Data Analysis Quiz 10

Python for Data Analysis Quiz 10

Assessment

Quiz

Other

University

Medium

Created by

Gnaneshwar Reddy

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary data structure in NumPy for handling multi-dimensional arrays?

List

Array

Series

DataFrame

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

. Which NumPy function is used to create an identity matrix?

`numpy.identity()`

`numpy.eye()`

`numpy.ones()`

`numpy.zeros()`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you reshape a NumPy array with 20 elements into a 4x5 matrix?

.

. `arr.reshape((4, 5))`

`arr.resize((4, 5))`

`arr.rearrange((4, 5))`

`arr.reform((4, 5))`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which NumPy function is used to find the mean (average) of an array?

`numpy.median()`

. `numpy.average()`

`numpy.mean()`

`numpy.mode()`

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To perform element-wise addition of two NumPy arrays, which operator should you use?

`+`

. `-`

`*`

`/`

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Pandas, what is the primary data structure for storing and manipulating tabular data?

Series

DataFrame

Array

List

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you select a specific column "column_name" from a Pandas DataFrame df?

`df.select("column_name")`

`df.loc["column_name"]`

`df["column_name"]`

'df.column_name`

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?