Skip to content

hsml.schema #

Schema #

Create a schema for a model input or output.

PARAMETER DESCRIPTION
object

The object to construct the schema from.

TYPE: pandas.DataFrame | pandas.Series | TypeVar('pyspark.sql.dataframe.DataFrame') | TypeVar('hsfs.training_dataset.TrainingDataset') | numpy.ndarray | list | None DEFAULT: None

to_dict #

to_dict()

Get dict representation of the Schema.