Note
Numpy (3) 본문
728x90
How to create a boolean array?
np.full((3, 3), True, dtype=bool)
# Alternate method:
np.ones((3,3), dtype=bool)
Comments
np.full((3, 3), True, dtype=bool)
# Alternate method:
np.ones((3,3), dtype=bool)