What does NumPy primarily provide?

Practice

Quiz
•
Computers
•
University
•
Easy
JOYDEEP ROY
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Data visualization tools
Array objects and numerical operations
Machine learning algorithms
Web frameworks
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which of the following creates a NumPy array of zeros?
numpy.zeros((3,3))
numpy.ones((3,3))
numpy.array((0,0))
numpy.zeros.array((3,3))
3.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is the shape of this array? np.array([[1,2,3],[4,5,6]])
(3, 2)
(2, 3)
(1, 6)
(6,)
4.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
How can you find the data type of elements in a NumPy array?
array.type()
array.dtype
array.datatype()
array.gettype()
5.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What will np.array([1,2,3]) + np.array([4,5,6]) return?
[1, 2, 3, 4, 5, 6]
[4, 10, 18]
[5, 7, 9]
Error
6.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Which of the following reshapes an array arr to 2 rows and 3 columns?
arr.resize(2, 3)
arr.flatten(2, 3)
arr.shape(2, 3)
arr.reshape(2, 3)
7.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
What is a DataFrame?
A single row of data
A 2D labeled data structure
A 1D labeled array
A chart
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Pandas Python: Trabajo con Datos

Quiz
•
University
19 questions
C Language Array Quiz

Quiz
•
University
18 questions
Array_to be discussF3

Quiz
•
University
15 questions
[Python For All] Quiz 5 - Numpy

Quiz
•
University
21 questions
quiz 2nd/3rd year

Quiz
•
University
18 questions
JavaScript Variables, Data Types, and Operators Quiz

Quiz
•
University
20 questions
Linux 3-4

Quiz
•
University
15 questions
Data Analytics using Python - Quiz 2

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade