lector.types.bools#
Classes for converting arrays to the boolean type.
Classes#
Converts stringy booleans ("true" / "False"), and ints (0/1) to the boolean type. |
- class lector.types.bools.Boolean[source]#
Bases:
lector.types.abc.ConverterConverts stringy booleans (“true” / “False”), and ints (0/1) to the boolean type.
- convert(array)[source]#
To be implemented in subclasses.
- Parameters:
array (pyarrow.Array) –
- Return type:
lector.types.abc.Conversion | None