Python for Data Analysis Quiz 10

Python for Data Analysis Quiz 10

University

10 Qs

quiz-placeholder

Similar activities

Pandas Fundamentals

Pandas Fundamentals

University

6 Qs

Pertemuan 2

Pertemuan 2

University

10 Qs

Array - C++ Programming

Array - C++ Programming

University

9 Qs

Python Functions and Data Structures Quiz

Python Functions and Data Structures Quiz

University

10 Qs

AI 2

AI 2

University

6 Qs

Pandas 和 Matplotlib 基础知识测验

Pandas 和 Matplotlib 基础知识测验

University

10 Qs

Text Mining with Python (week 9)

Text Mining with Python (week 9)

University

7 Qs

Python Numpy and Pandas Quiz

Python Numpy and Pandas Quiz

University

15 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?