gooddata_pandas.result_convertor.convert_execution_response_to_dataframe

gooddata_pandas.result_convertor.convert_execution_response_to_dataframe(execution_response: BareExecutionResponse, result_cache_metadata: ResultCacheMetadata, label_overrides: Dict[str, Dict[str, Dict[str, str]]], result_size_dimensions_limits: Tuple[Optional[int], ...], result_size_bytes_limit: Optional[int] = None, use_local_ids_in_headers: bool = False, page_size: int = 100) Tuple[DataFrame, DataFrameMetadata]

Converts execution result to a pandas dataframe, maintaining the dimensionality of the result.

Args:
execution_response (BareExecutionResponse): Execution response through which the result can be read

and converted to a dataframe.

result_cache_metadata (ResultCacheMetadata): Metadata about the result cache. label_overrides (LabelOverrides): Label overrides for the dataframe. result_size_dimensions_limits (ResultSizeDimensions): Dimension limits for the dataframe. result_size_bytes_limit (Optional[int], default=None): Size limit in bytes for the dataframe. use_local_ids_in_headers (bool, default=False): Use local ids in headers if True, else use default settings. page_size (int, default=_DEFAULT_PAGE_SIZE): Size of the page.

Returns:

Tuple[pandas.DataFrame, DataFrameMetadata]: A tuple containing the created dataframe and its metadata.