Sum of NumPy Array in Python (3 Examples) | np.sum() Function of NumPy Library | Adding Rows/Columns

preview_player
Показать описание
Python code of this video:

import numpy as np # Load NumPy library

print(my_array) # Print example array
# [[1 2 3]
# [4 5 6]]

# 21

# [5 7 9]

# [ 6 15]

Follow me on Social Media:

Рекомендации по теме