ndarray_to_bytes¶ ndarray_to_bytes(ndarray: ndarray[tuple[int, ...], dtype[Any]]) → bytes[source]¶ Sérialise le tableau numérique NumPy en octets.