ArrowNumpySchema¶
- 
class lsst.daf.butler.formatters.parquet.ArrowNumpySchema(numpy_dtype: np.dtype)¶
- Bases: - object- Wrapper class for a schema for a numpy ndarray. - Parameters: - numpy_dtype : numpy.dtype
- Numpy dtype to convert. 
 - Attributes Summary - schema- Methods Summary - from_arrow(schema)- Convert an arrow schema into an - ArrowNumpySchema.- to_arrow_astropy_schema()- Convert to an - ArrowAstropySchema.- to_arrow_schema()- Convert to a - pyarrow.Schema.- to_dataframe_schema()- Convert to a - DataFrameSchema.- Attributes Documentation - 
schema¶
 - Methods Documentation - 
classmethod from_arrow(schema: pyarrow.lib.Schema) → lsst.daf.butler.formatters.parquet.ArrowNumpySchema¶
- Convert an arrow schema into an - ArrowNumpySchema.- Parameters: - schema : pyarrow.Schema
- Pyarrow schema to convert. 
 - Returns: - numpy_schema : ArrowNumpySchema
- Converted arrow numpy schema. 
 
- schema : 
 - 
to_arrow_astropy_schema() → lsst.daf.butler.formatters.parquet.ArrowAstropySchema¶
- Convert to an - ArrowAstropySchema.- Returns: - astropy_schema : ArrowAstropySchema
- Converted arrow astropy schema. 
 
- astropy_schema : 
 - 
to_arrow_schema() → pyarrow.lib.Schema¶
- Convert to a - pyarrow.Schema.- Returns: - arrow_schema : pyarrow.Schema
- Converted pyarrow schema. 
 
- arrow_schema : 
 - 
to_dataframe_schema() → lsst.daf.butler.formatters.parquet.DataFrameSchema¶
- Convert to a - DataFrameSchema.- Returns: - dataframe_schema : DataFrameSchema
- Converted dataframe schema. 
 
- dataframe_schema : 
 
- numpy_dtype :