# 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](https://www.gooddata.com/developers/cloud-native/) workspace.
See [DOCUMENTATION](https://gooddata-pandas.readthedocs.io/en/latest/) for more details.
## Requirements
- GoodData.CN installation; either running on your cloud
infrastructure or the free Community Edition running on your workstation
- Python 3.9 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:
```python
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](https://github.com/gooddata/gooddata-python-sdk/issues) to submit bugs
or request features.
## Changelog
Consult [Github releases](https://github.com/gooddata/gooddata-python-sdk/releases) for a released versions
and list of changes.
Raw data
{
"_id": null,
"home_page": null,
"name": "gooddata-pandas",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9.0",
"maintainer_email": null,
"keywords": "gooddata, pandas, series, data, frame, data_frame, analytics, headless, business, intelligence, headless-bi, cloud, native, semantic, layer, sql, metrics",
"author": "GoodData",
"author_email": "support@gooddata.com",
"download_url": "https://files.pythonhosted.org/packages/9a/19/36f2fe83055f65fe7d468282e70f530cbc80cd364b91c46f60c1cd665914/gooddata_pandas-1.31.0.tar.gz",
"platform": null,
"description": "# GoodData Pandas\n\nThis package contains a thin layer that utilizes gooddata-sdk and allows you to conveniently create pandas series and\ndata frames from the computations done against semantic model in your [GoodData.CN](https://www.gooddata.com/developers/cloud-native/) workspace.\n\nSee [DOCUMENTATION](https://gooddata-pandas.readthedocs.io/en/latest/) for more details.\n\n## Requirements\n\n- GoodData.CN installation; either running on your cloud\n infrastructure or the free Community Edition running on your workstation\n\n- Python 3.9 or newer\n\n## Installation\n\nRun the following command to install the `gooddata-pandas` package on your system:\n\n pip install gooddata-pandas\n\n## Example\n\nCreate an indexed and a not-indexed series:\n\n```python\nfrom gooddata_pandas import GoodPandas\n\n# GoodData.CN host in the form of uri eg. \"http://localhost:3000\"\nhost = \"http://localhost:3000\"\n# GoodData.CN user token\ntoken = \"some_user_token\"\n# initialize the adapter to work on top of GD.CN host and use the provided authentication token\ngp = GoodPandas(host, token)\n\nworkspace_id = \"demo\"\nseries = gp.series(workspace_id)\n\n# create indexed series\nindexed_series = series.indexed(index_by=\"label/label_id\", data_by=\"fact/measure_id\")\n\n# create non-indexed series containing just the values of measure sliced by elements of the label\nnon_indexed = series.not_indexed(data_by=\"fact/measure_id\", granularity=\"label/label_id\")\n```\n\n## Bugs & Requests\n\nPlease use the [GitHub issue tracker](https://github.com/gooddata/gooddata-python-sdk/issues) to submit bugs\nor request features.\n\n## Changelog\n\nConsult [Github releases](https://github.com/gooddata/gooddata-python-sdk/releases) for a released versions\nand list of changes.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "GoodData Cloud to pandas",
"version": "1.31.0",
"project_urls": {
"Documentation": "https://gooddata-pandas.readthedocs.io/en/v1.31.0",
"Source": "https://github.com/gooddata/gooddata-python-sdk"
},
"split_keywords": [
"gooddata",
" pandas",
" series",
" data",
" frame",
" data_frame",
" analytics",
" headless",
" business",
" intelligence",
" headless-bi",
" cloud",
" native",
" semantic",
" layer",
" sql",
" metrics"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c47bc8ec48c51c20609d63539044640a427dc3f876f5ae22d6dd428c0f62d530",
"md5": "27705d15a53e06def86d7aa236da2f35",
"sha256": "a46245637cd085a3f852657518e4e4971c292712271c7989cfa02ce86c9f404d"
},
"downloads": -1,
"filename": "gooddata_pandas-1.31.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "27705d15a53e06def86d7aa236da2f35",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9.0",
"size": 48739,
"upload_time": "2024-11-14T15:17:57",
"upload_time_iso_8601": "2024-11-14T15:17:57.673644Z",
"url": "https://files.pythonhosted.org/packages/c4/7b/c8ec48c51c20609d63539044640a427dc3f876f5ae22d6dd428c0f62d530/gooddata_pandas-1.31.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9a1936f2fe83055f65fe7d468282e70f530cbc80cd364b91c46f60c1cd665914",
"md5": "6275a60b790b10bae6a2748c985544dc",
"sha256": "542542ae36d4fd7f5f3b79b5d83c0128001c843973e47ae33424c9f5c331276c"
},
"downloads": -1,
"filename": "gooddata_pandas-1.31.0.tar.gz",
"has_sig": false,
"md5_digest": "6275a60b790b10bae6a2748c985544dc",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9.0",
"size": 46534,
"upload_time": "2024-11-14T15:18:01",
"upload_time_iso_8601": "2024-11-14T15:18:01.352892Z",
"url": "https://files.pythonhosted.org/packages/9a/19/36f2fe83055f65fe7d468282e70f530cbc80cd364b91c46f60c1cd665914/gooddata_pandas-1.31.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-14 15:18:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gooddata",
"github_project": "gooddata-python-sdk",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "gooddata-pandas"
}