featurebyte.ObservationTable.upload¶
upload(
file_path: Union[str, Path],
name: str,
purpose: Union[Purpose, NoneType]=None,
primary_entities: Union[List[str], NoneType]=None
) -> ObservationTableDescription¶
Upload a file to create an observation table. This file can either be a CSV or Parquet file.
Parameters¶
- file_path: Union[str, Path]
Path to file to upload. The file path should end in the appropriate .csv or .parquet file extension. - name: str
Name of the observation table to create. - purpose: Union[Purpose, NoneType]
Purpose of the observation table. - primary_entities: Union[List[str], NoneType]
List of primary entities for the observation table.
Returns¶
- ObservationTable