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 a26fd29

Browse files
Update 4_NumPy_8_Subsetting 2D NumPy Arrays.py
1 parent 365887a commit a26fd29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎4_NumPy_8_Subsetting 2D NumPy Arrays.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
print(np_baseball[49,:])
1111

1212
# Select the entire second column of np_baseball: np_weight
13-
np_weight =np_baseball[:,1]
13+
np_weight_lb =np_baseball[:,1]
1414
# Print out height of 124th player
15-
print(np_baseball[124:1])
15+
print(np_baseball[123, 0])

0 commit comments

Comments
(0)

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