Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d6a3e01

Browse files
Update 4_NumPy_10_Average versus median.py
1 parent 365887a commit d6a3e01

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎4_NumPy_10_Average versus median.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
import numpy as np
55

66
# Create np_height from np_baseball
7-
np_height=np_baseball[:,0]
7+
np_height_in=np_baseball[:,0]
88

99
# Print out the mean of np_height
10-
print(np.mean(np_height))
10+
print(np.mean(np_height_in))
1111

1212
# Print out the median of np_height
13-
print(np.median(np_height))
13+
print(np.median(np_height_in))

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /