numpy relleno na con 0
import numpy as np
A[np.isnan(A)] = 0
Duco Defiant Dogfish
import numpy as np
A[np.isnan(A)] = 0
mat = np.zeros((4,4), np.int32)