gooddata_pandas.good_pandas.GoodPandas

class gooddata_pandas.good_pandas.GoodPandas(host: str, token: str, headers_host: Optional[str] = None, **custom_headers_: Optional[str])

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, **custom_headers_: Optional[str]) None

Methods

__init__(host, token[, headers_host])

create_from_profile([profile, profiles_path])

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.

Attributes

sdk

data_frames(workspace_id: str) 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) 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