Fix Q.49
Before: `threshold=np.nan` After : `threshold=float("inf")` `np.nan` may fail in latest version.
This commit is contained in:
parent
c889812457
commit
4c9a228d49
@ -604,7 +604,7 @@ How to print all the values of an array? (★★☆)
|
||||
hint: np.set_printoptions
|
||||
|
||||
< a49
|
||||
np.set_printoptions(threshold=np.nan)
|
||||
np.set_printoptions(threshold=float("inf"))
|
||||
Z = np.zeros((16,16))
|
||||
print(Z)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user