pyarrow.lib.DataType

class pyarrow.lib.DataType

Bases: object

Base type for Apache Arrow data type instances. Wraps C++ arrow::DataType

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

equals(self, other) Return true if type is equivalent to passed value
to_pandas_dtype(self) Return the NumPy dtype that would be used for storing this
equals(self, other)

Return true if type is equivalent to passed value

Parameters:other (DataType or string convertible to DataType) –
Returns:is_equal (boolean)
id
to_pandas_dtype(self)

Return the NumPy dtype that would be used for storing this