DataFrameFactory.

for_exec_result_id

for_exec_result_id( result_id: str, label_overrides: Optional[LabelOverrides], result_cache_metadata: Optional[ResultCacheMetadata], result_size_dimensions_limits: ResultSizeDimensions, result_size_bytes_limit: Optional[int], use_local_ids_in_headers: bool, use_primary_labels_in_attributes: bool, page_size: int ) -> Tuple[pandas.DataFrame, DataFrameMetadata]

Retrieves a DataFrame and DataFrame metadata for a given execution result identifier.

Example of label_overrides structure: .. code-block:: python { "labels": { "local_attribute_id": { "title": "My new attribute label" ,... }, "metrics": { "local_metric_id": { "title": "My new metric label" },... } }

Parameters

nametypedescription
result_idstrExecution result identifier.
label_overridesOptional[LabelOverrides]Label overrides for metrics and attributes.
result_cache_metadataOptional[ResultCacheMetadata]Cache metadata for the execution result.
result_size_dimensions_limitsResultSizeDimensionsA tuple containing maximum size of result dimensions.
result_size_bytes_limitOptional[int]Maximum size of result in bytes.
use_local_ids_in_headersboolUse local identifier in headers.
use_primary_labels_in_attributesboolUse primary labels in attributes.
page_sizeintNumber of records per page.

Returns

typedescription
Tuple[pandas.DataFrame, DataFrameMetadata]Tuple holding DataFrame and DataFrame metadata.