np inf array code example
Example: numpy full
import numpy as np
# Creates a 5x5 2d matrix with values True
output = np.full((5,5), True)
# Proof
print(output)
#[[ True True True True True]
# [ True True True True True]
# [ True True True True True]
# [ True True True True True]
# [ True True True True True]]