What function is used to create a Numpy array from a list?
Sjmit-Q2-[Workshop-MAR-25]

Quiz
•
Computers
•
12th Grade
•
Hard
Manjunatha M
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
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
Similar Resources on Quizizz
20 questions
Pandas DataFrame Quiz

Quiz
•
University
18 questions
Python Pandas-Series

Quiz
•
12th Grade
20 questions
MÓDULOS Y PAQUETES PARA MACHINE LEARNING CON PYTHON

Quiz
•
University
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
20 questions
ML Training - Pretest Quiz

Quiz
•
12th Grade
20 questions
Pandas Python: Trabajo con Datos

Quiz
•
University
20 questions
Data handling using pandas and Data visualization

Quiz
•
12th Grade
20 questions
Quiz PBO SIA

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade