ECSVEnginePyArrow#
- class astropy.io.misc.ecsv.ECSVEnginePyArrow[source]#
Bases:
ECSVEngineECSV reader engine using PyArrow.
Attributes Summary
Methods Summary
convert_np_type(np_type)Convert a numpy type string to engine-specific type for parsing.
get_data_kwargs(header, null_values)Generate a dictionary of keyword arguments for data parsing.
Attributes Documentation
- format = 'pyarrow.csv'#
- name = 'pyarrow'#
Methods Documentation
- convert_np_type(np_type)[source]#
Convert a numpy type string to engine-specific type for parsing.
For instance, for pandas the
"int32"numpy type gets converted to anInt32Dtype()instance to read columns as a nullable int32.