pyarrow.from_numpy_dtype

pyarrow.from_numpy_dtype(dtype)

Convert NumPy dtype to pyarrow.DataType.

Parameters:
dtypethe numpy dtype to convert