# pandiet
[](https://pypi.org/project/pandiet/)
A library to reduce memory consumption of Pandas Dataframes
# Installation
```sh
pip install pandiet
```
# Usage
```python
import pandas as pd
from pandiet import Reducer # supported from v0.1.2
# from pandiet.core import Reducer
df = pd.read_csv('https://raw.githubusercontent.com/bundgus/pydata2parquet/master/Most-Recent-Cohorts-Scorecard-Elements.csv')
df_reduced = Reducer().reduce(df, verbose=True)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/myui/pandiet",
"name": "pandiet",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4",
"maintainer_email": "",
"keywords": "",
"author": "Makoto Yui",
"author_email": "myui@apache.org",
"download_url": "https://files.pythonhosted.org/packages/6a/b0/09e1ec555b16e77a0af42e58810f1bb5a9e9910a3bc6a5fce92d19d82728/pandiet-0.1.9.tar.gz",
"platform": null,
"description": "# pandiet\n[](https://pypi.org/project/pandiet/)\n\nA library to reduce memory consumption of Pandas Dataframes\n\n# Installation\n\n```sh\npip install pandiet\n```\n\n# Usage\n\n```python\nimport pandas as pd\nfrom pandiet import Reducer # supported from v0.1.2\n# from pandiet.core import Reducer\n\ndf = pd.read_csv('https://raw.githubusercontent.com/bundgus/pydata2parquet/master/Most-Recent-Cohorts-Scorecard-Elements.csv')\ndf_reduced = Reducer().reduce(df, verbose=True)\n```\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "A library to reduce memory consumption of Pandas Dataframes",
"version": "0.1.9",
"project_urls": {
"Bug Tracker": "https://github.com/myui/pandiet/issues",
"Homepage": "https://github.com/myui/pandiet",
"Source": "https://github.com/myui/pandiet/"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6659a76c929ee5091ec49e7a5fa8bd50ef5396e219473aa943ac1222736e0ac7",
"md5": "89d88c311127e22f2cbc0b82053e194a",
"sha256": "dff08b3f11595704adb6d6a6eba08e92be8813a8c84f014b06d495f6f81fd46c"
},
"downloads": -1,
"filename": "pandiet-0.1.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "89d88c311127e22f2cbc0b82053e194a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4",
"size": 5687,
"upload_time": "2023-12-12T10:51:20",
"upload_time_iso_8601": "2023-12-12T10:51:20.701361Z",
"url": "https://files.pythonhosted.org/packages/66/59/a76c929ee5091ec49e7a5fa8bd50ef5396e219473aa943ac1222736e0ac7/pandiet-0.1.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6ab009e1ec555b16e77a0af42e58810f1bb5a9e9910a3bc6a5fce92d19d82728",
"md5": "00b1e988e9299eb78a2d08c68a8b9653",
"sha256": "0d9fecf5d55c982eca20cef16ded2cbf05e3cab98f58e3d167ba3d3a9aff8318"
},
"downloads": -1,
"filename": "pandiet-0.1.9.tar.gz",
"has_sig": false,
"md5_digest": "00b1e988e9299eb78a2d08c68a8b9653",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<4",
"size": 5231,
"upload_time": "2023-12-12T10:51:22",
"upload_time_iso_8601": "2023-12-12T10:51:22.366734Z",
"url": "https://files.pythonhosted.org/packages/6a/b0/09e1ec555b16e77a0af42e58810f1bb5a9e9910a3bc6a5fce92d19d82728/pandiet-0.1.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-12 10:51:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "myui",
"github_project": "pandiet",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "pandas",
"specs": [
[
">=",
"0.19"
]
]
},
{
"name": "numpy",
"specs": []
},
{
"name": "joblib",
"specs": []
},
{
"name": "fastprogress",
"specs": []
}
],
"lcname": "pandiet"
}