Data Preprocessing - 1

Quiz
•
Computers
•
Professional Development
•
Medium
Lilesh Pathe
Used 2+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does np.random.rand(2,3) generate?
2D array with random integers
2D array with random floats between 0 and 1
3D array with random integers
Array with random Gaussian distribution
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does np.linspace(0, 10, 5) produce?
Five evenly spaced numbers from 0 to 10
Ten evenly spaced numbers from 0 to 5
Sequence of integers
None of the above
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of np.eye(3)?
3×3 identity matrix
3×3 zero matrix
3×3 matrix of ones
None of the above
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which NumPy method is used to check for NaN values?
np.isnan()
np.isnull()
np.missing()
np.check_nan()
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which NumPy function is used to compute the cumulative sum?
np.cumsum()
np.sum()
np.add()
np.total()
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In NumPy, axis=1 in a sum function means:
Sum across columns
Sum across rows
Sum diagonally
Sum all elements
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which function is used to write a DataFrame to a CSV file?
to_csv()
write_csv()
save_csv()
export_csv()
Create a free account and access millions of resources
Similar Resources on Wayground
45 questions
A+ 1102 Study Quiz 2

Quiz
•
Professional Development
41 questions
Switch Staff Challenge 2025 - Explorer

Quiz
•
Professional Development
35 questions
PCEP-Python Programming Quiz

Quiz
•
Professional Development
45 questions
Excel Basic Level QUIZ

Quiz
•
Professional Development
40 questions
110011001100110011

Quiz
•
Professional Development
35 questions
Python

Quiz
•
Professional Development
39 questions
S23.2 Sotfware and computers

Quiz
•
Professional Development
36 questions
Quiz o ZW i PT

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade