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_dtypenumpy.dtype
- Numpy dtype to convert. 
 
- numpy_dtype
 - Attributes Summary - Methods Summary - from_arrow(schema)- Convert an arrow schema into an - ArrowNumpySchema.- Convert to an - ArrowAstropySchema.- Convert to a - pyarrow.Schema.- Convert to a - DataFrameSchema.- Attributes Documentation - schema¶
 - Methods Documentation - classmethod from_arrow(schema: Schema) ArrowNumpySchema¶
- Convert an arrow schema into an - ArrowNumpySchema.- Parameters:
- schemapyarrow.Schema
- Pyarrow schema to convert. 
 
- schema
- Returns:
- numpy_schemaArrowNumpySchema
- Converted arrow numpy schema. 
 
- numpy_schema
 
 - to_arrow_astropy_schema() ArrowAstropySchema¶
- Convert to an - ArrowAstropySchema.- Returns:
- astropy_schemaArrowAstropySchema
- Converted arrow astropy schema. 
 
- astropy_schema
 
 - to_arrow_schema() Schema¶
- Convert to a - pyarrow.Schema.- Returns:
- arrow_schemapyarrow.Schema
- Converted pyarrow schema. 
 
- arrow_schema
 
 - to_dataframe_schema() DataFrameSchema¶
- Convert to a - DataFrameSchema.- Returns:
- dataframe_schemaDataFrameSchema
- Converted dataframe schema. 
 
- dataframe_schema