1/6
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
What is Boolean indexing?
Filtering an array using a condition
Example:
arr[arr>100]
Values greater than 100
What does arr > 2 do with a NumPy array?
Checks the condition element by element.
Produces Boolean results
How does NumPy display a simple array?
Square brackets + spaces
[1 2 3]
No commas
np.sum(arr)?
Total/Sum
np.min(arr) vs np.max(arr)?
Min → smallest
Max → largest
np.std(arr)?
Standard deviation
np.var(arr)?
Variance