featurebyte.ObservationTable.create_observation_table¶
create_observation_table(
name: str,
sample_rows: Optional[int]=None,
sample_from_timestamp: Union[datetime, str, NoneType]=None,
sample_to_timestamp: Union[datetime, str, NoneType]=None,
downsampling_info: Optional[DownSamplingInfo]=None
) -> ObservationTableDescription¶
Creates an ObservationTable from an existing ObservationTable.
Parameters¶
- name: str
Observation table name. - sample_rows: Optional[int]
Optionally sample the source observation table to this number of rows before creating the observation table. - sample_from_timestamp: Union[datetime, str, NoneType]
Start of date range to sample from. - sample_to_timestamp: Union[datetime, str, NoneType]
End of date range to sample from. - downsampling_info: Optional[DownSamplingInfo]
Downsampling information to apply when creating the observation table. If provided,
Returns¶
- ObservationTable