|
tp_sum = np.cumsum(tps, axis=1).astype(dtype=np.float) |
To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here. si el fichero no es mío