# 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/c4/de/0e6ed0aa070579d7570ba5b266c9bf3dfa74e1df21d43f5ef8006985fa5c/gooddata_pandas-1.28.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.28.0",
"project_urls": {
"Documentation": "https://gooddata-pandas.readthedocs.io/en/v1.28.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": "bb9d58b7f223393b9707e67a0a59060647a9d12983c76d11137b1a5e675c35eb",
"md5": "77fd28d132a4d7c136a9bb48349b5d3d",
"sha256": "69766e607063ec7e4f89c129765ec4a75042b71eac8b92bc7b44c719e38751bd"
},
"downloads": -1,
"filename": "gooddata_pandas-1.28.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "77fd28d132a4d7c136a9bb48349b5d3d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9.0",
"size": 48655,
"upload_time": "2024-10-03T14:36:16",
"upload_time_iso_8601": "2024-10-03T14:36:16.329116Z",
"url": "https://files.pythonhosted.org/packages/bb/9d/58b7f223393b9707e67a0a59060647a9d12983c76d11137b1a5e675c35eb/gooddata_pandas-1.28.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c4de0e6ed0aa070579d7570ba5b266c9bf3dfa74e1df21d43f5ef8006985fa5c",
"md5": "0558565a6c4ffa8d48ce201ef9d4e96a",
"sha256": "4e523a3390353391ea3c3507df45a2a15ff09937a320871c3e3e5368b73327ce"
},
"downloads": -1,
"filename": "gooddata_pandas-1.28.0.tar.gz",
"has_sig": false,
"md5_digest": "0558565a6c4ffa8d48ce201ef9d4e96a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9.0",
"size": 46466,
"upload_time": "2024-10-03T14:38:29",
"upload_time_iso_8601": "2024-10-03T14:38:29.397139Z",
"url": "https://files.pythonhosted.org/packages/c4/de/0e6ed0aa070579d7570ba5b266c9bf3dfa74e1df21d43f5ef8006985fa5c/gooddata_pandas-1.28.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-03 14:38:29",
"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"
}