Python numpy.broadcast_to () Exemple de fonction

# welcome to softhunt.net
# Python program explaining
# numpy.broadcast_to() function

# importing numpy as np
import numpy as np

arr = np.array([5, 6, 7, 8, 9, 10])

softhunt = np.broadcast_to(arr, (6, 6))

print(softhunt)
Outrageous Ostrich