# 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.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:
```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.8.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/11/c0/2df00fb036200da9f0457f8dd5fdc32633ecd4c3e1b9af16a08cc2264a59/gooddata_pandas-1.18.1.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.8 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.18.1",
"project_urls": {
"Documentation": "https://gooddata-pandas.readthedocs.io/en/v1.18.1",
"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": "4f916fc248385ea8f6f2303b91b15896030ec8c140385ec82bac974df4124fbc",
"md5": "ddf3c438382b5b96d03e9973d43352ba",
"sha256": "71fc7fe3f9794c11992b621ee422dfc78a2b29eed9b8e9640258a6c2439cbe83"
},
"downloads": -1,
"filename": "gooddata_pandas-1.18.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ddf3c438382b5b96d03e9973d43352ba",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8.0",
"size": 37320,
"upload_time": "2024-04-19T08:20:25",
"upload_time_iso_8601": "2024-04-19T08:20:25.728601Z",
"url": "https://files.pythonhosted.org/packages/4f/91/6fc248385ea8f6f2303b91b15896030ec8c140385ec82bac974df4124fbc/gooddata_pandas-1.18.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "11c02df00fb036200da9f0457f8dd5fdc32633ecd4c3e1b9af16a08cc2264a59",
"md5": "617c1c4a42993cf2777ad2164d5f8a77",
"sha256": "4063f8b7e6e9c925f96b73cea0671ddbb6c57c75ee09bc28fe7d4b0f06f4d400"
},
"downloads": -1,
"filename": "gooddata_pandas-1.18.1.tar.gz",
"has_sig": false,
"md5_digest": "617c1c4a42993cf2777ad2164d5f8a77",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8.0",
"size": 35224,
"upload_time": "2024-04-19T08:20:33",
"upload_time_iso_8601": "2024-04-19T08:20:33.690231Z",
"url": "https://files.pythonhosted.org/packages/11/c0/2df00fb036200da9f0457f8dd5fdc32633ecd4c3e1b9af16a08cc2264a59/gooddata_pandas-1.18.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-19 08:20:33",
"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"
}