Skip to content

hsml.schema #

[source] 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

RETURNS DESCRIPTION

Schema. The schema object.

[source] to_dict #

to_dict()

Get dict representation of the Schema.