gooddata_pandas.good_pandas.GoodPandas
- class gooddata_pandas.good_pandas.GoodPandas(host: str, token: str, headers_host: Optional[str] = None)
Bases:
object
Facade to access factories that create pandas Series and DataFrames using analytics computed by GoodData.CN.
- __init__(host: str, token: str, headers_host: Optional[str] = None) None
Methods
__init__
(host, token[, headers_host])data_frames
(workspace_id)Creates factory to use for construction of pandas.DataFrame.
series
(workspace_id)Creates factory to use for construction of pandas.Series.
- data_frames(workspace_id: str) gooddata_pandas.dataframe.DataFrameFactory
Creates factory to use for construction of pandas.DataFrame.
- Parameters
workspace_id – workspace to which the factory will be bound
- Returns
always one same instance for given workspace
- series(workspace_id: str) gooddata_pandas.series.SeriesFactory
Creates factory to use for construction of pandas.Series.
- Parameters
workspace_id – workspace to which the factory will be bound
- Returns
always one same instance for given workspace