GoodData Cloud to pandas
Project description
GoodData Pandas
This package contains a thin layer that utilizes gooddata-sdk and allows you to conveniently create pandas series and data frames from the computations done against semantic model in your GoodData.CN workspace.
See DOCUMENTATION for more details.
Requirements
-
GoodData.CN installation; either running on your cloud infrastructure or the free Community Edition running on your workstation
-
Python 3.8 or newer
Installation
Run the following command to install the gooddata-pandas
package on your system:
pip install gooddata-pandas
Example
Create an indexed and a not-indexed series:
from gooddata_pandas import GoodPandas
# GoodData.CN host in the form of uri eg. "http://localhost:3000"
host = "http://localhost:3000"
# GoodData.CN user token
token = "some_user_token"
# initialize the adapter to work on top of GD.CN host and use the provided authentication token
gp = GoodPandas(host, token)
workspace_id = "demo"
series = gp.series(workspace_id)
# create indexed series
indexed_series = series.indexed(index_by="label/label_id", data_by="fact/measure_id")
# create non-indexed series containing just the values of measure sliced by elements of the label
non_indexed = series.not_indexed(data_by="fact/measure_id", granularity="label/label_id")
Bugs & Requests
Please use the GitHub issue tracker to submit bugs or request features.
Changelog
Consult Github releases for a released versions and list of changes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gooddata_pandas-1.21.1.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 868007118c60d3e5da559194da56b84c30a5cc080c4136f3ed1e02881c665e91 |
|
MD5 | 66bbb91f856cdd070938ed609822af58 |
|
BLAKE2b-256 | 7fc6ebd127deaad469f97031e69d56400b988dede62d8490f2fa75e818eda630 |
Hashes for gooddata_pandas-1.21.1.dev2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de2df21b803e3cc689fbe0539cfaad6b235599611ab5a906146ee6f41edc3f06 |
|
MD5 | c2677e7c17495654fdae6c98cc8ee7a3 |
|
BLAKE2b-256 | a38c1c16d43c14bc0422c6a9da0c1a91dd363c4fad257021ddc19ca4dd0dce77 |