Skip to content

Commit a26fd29

Browse files
authored
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

Diff for: 4_NumPy_8_Subsetting 2D NumPy Arrays.py

+2-2
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)