BANA6620 Quiz 3 - Random, operations, agrregstions

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/8

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:49 AM on 9/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

9 Terms

1
New cards

no.random.rand(n)?

Creates n random floats in:

[0,1)

2
New cards

np.random.normal(mean,std, size)?

Random values from a normal distribution

Using;

Mean

Standard deviation

Number/size of values

3
New cards

no.random.randint(low, high, size)?

Random integers in:

[low,high)


LOW

HIGH 🛑

4
New cards

NumPy element-wise operation?


Np.array([1,2,3]) *2

[2 4 6]

5
New cards

What happens when same-shaped NumPy arrays are added?

Added element-by-element

6
New cards

What does np.mean(arr) calculate?

Mean of all elements

7
New cards

axis=0?

COLUMNS

8
New cards

axis=1?

ROWS

9
New cards

What does np.median(arr) calculate?

The median