API.get_model_version_production_data#

API.get_model_version_production_data(model_version_id: int, start_time: Union[datetime, str, int], end_time: Union[datetime, str, int], rows_count: int = 10000, filters: List[DataFilter] = None, raise_on_status: bool = True) Union[DataFrame, Response]#

Get production data for a model version on a specific window.

Parameters
model_version_idint

The model version id.

start_timet.Union[datetime, str, int]
The start time timestamp.
  • int: Unix timestamp

  • str: timestamp in ISO8601 format

  • datetime: If no timezone info is provided on the datetime assumes local timezone.

end_timet.Union[datetime, str, int]
The end time timestamp.
  • int: Unix timestamp

  • str: timestamp in ISO8601 format

  • datetime: If no timezone info is provided on the datetime assumes local timezone.

rows_countint, optional

The number of rows to return (random sampling will be used).

filterst.List[DataFilter], optional

Data filters to apply. Used in order to received a segment of the data based on selected properties. Required format for filters and possible operators are detailed under the respected objects which can be found at: from deepchecks_client import DataFilter, OperatorsEnum

raise_on_statusbool, optional

Whether to raise an exception if the status is not 200.

Returns
t.Union[‘pandas’.DataFrame, httpx.Response]

The production data or a plain response if raise_on_status is False.