[![PyPI version fury.io](https://badge.fury.io/py/energy-pandas.svg)](https://pypi.python.org/pypi/energy-pandas/)
[![codecov](https://codecov.io/gh/samuelduchesne/energy-pandas/branch/master/graph/badge.svg?token=kY9pzjlDZJ)](https://codecov.io/gh/samuelduchesne/energy-pandas)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/energy-pandas.svg)](https://pypi.python.org/pypi/energy-pandas/)
# energy-pandas
An extension of pandas to deal with building related time series such as temperature, load and energy.
## Installation
```python
pip install energy-pandas
```
## Usage
```python
from energy_pandas import EnergyDataFrame, EnergySeries
edf = EnergyDataFrame(
{
"temp": EnergySeries(range(0,100), units="degC"),
"q_heat": EnergySeries(range(0,100), units="W"),
"q_cool": EnergySeries(range(0,100), units="W")
},
name="Zone 1"
)
edf.units
{'temp': <Unit('degree_Celsius')>, 'q_heat': <Unit('watt')>, 'q_cool': <Unit('watt')>}
```
Raw data
{
"_id": null,
"home_page": "https://github.com/samuelduchesne/energy-pandas",
"name": "energy-pandas",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "pandas time-series extension",
"author": "Samuel Letellier-Duchesne",
"author_email": "samuel.letellier-duchesne@polymtl.ca",
"download_url": "https://files.pythonhosted.org/packages/5d/c9/1651023a96b7a54b47bf4f9712314b2d6ae2ed5dc2d2da3a155352357fd4/energy_pandas-0.3.5.tar.gz",
"platform": null,
"description": "[![PyPI version fury.io](https://badge.fury.io/py/energy-pandas.svg)](https://pypi.python.org/pypi/energy-pandas/)\n[![codecov](https://codecov.io/gh/samuelduchesne/energy-pandas/branch/master/graph/badge.svg?token=kY9pzjlDZJ)](https://codecov.io/gh/samuelduchesne/energy-pandas)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/energy-pandas.svg)](https://pypi.python.org/pypi/energy-pandas/)\n\n# energy-pandas\n\nAn extension of pandas to deal with building related time series such as temperature, load and energy.\n\n## Installation\n\n```python\npip install energy-pandas\n```\n\n## Usage\n\n```python\nfrom energy_pandas import EnergyDataFrame, EnergySeries\n\nedf = EnergyDataFrame(\n {\n \"temp\": EnergySeries(range(0,100), units=\"degC\"),\n \"q_heat\": EnergySeries(range(0,100), units=\"W\"), \n \"q_cool\": EnergySeries(range(0,100), units=\"W\")\n },\n name=\"Zone 1\"\n)\nedf.units\n{'temp': <Unit('degree_Celsius')>, 'q_heat': <Unit('watt')>, 'q_cool': <Unit('watt')>}\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Building Energy pandas extension",
"version": "0.3.5",
"project_urls": {
"Homepage": "https://github.com/samuelduchesne/energy-pandas"
},
"split_keywords": [
"pandas",
"time-series",
"extension"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0d5d2c044423f687852ba530b0100f875fccfe905409183a8e1a25219ff9f579",
"md5": "2cefee742171bae7ee2f38b790219a5c",
"sha256": "6664bea2bf4786997a652b49fe6b459636774bbd82b8cb82a34d75e60cc223db"
},
"downloads": -1,
"filename": "energy_pandas-0.3.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2cefee742171bae7ee2f38b790219a5c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 17205,
"upload_time": "2024-06-12T11:24:10",
"upload_time_iso_8601": "2024-06-12T11:24:10.748029Z",
"url": "https://files.pythonhosted.org/packages/0d/5d/2c044423f687852ba530b0100f875fccfe905409183a8e1a25219ff9f579/energy_pandas-0.3.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5dc91651023a96b7a54b47bf4f9712314b2d6ae2ed5dc2d2da3a155352357fd4",
"md5": "2ac46433e5e0814b4979a6cd20c60f79",
"sha256": "deb9a9ce35af1c64f1c92030149e767e2db690f5f2875d96b3f29d79cae1330b"
},
"downloads": -1,
"filename": "energy_pandas-0.3.5.tar.gz",
"has_sig": false,
"md5_digest": "2ac46433e5e0814b4979a6cd20c60f79",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 156913,
"upload_time": "2024-06-12T11:24:12",
"upload_time_iso_8601": "2024-06-12T11:24:12.212645Z",
"url": "https://files.pythonhosted.org/packages/5d/c9/1651023a96b7a54b47bf4f9712314b2d6ae2ed5dc2d2da3a155352357fd4/energy_pandas-0.3.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-12 11:24:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "samuelduchesne",
"github_project": "energy-pandas",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [
{
"name": "outdated",
"specs": [
[
"~=",
"0.2.1"
]
]
},
{
"name": "pint",
"specs": [
[
"<=",
"0.19"
]
]
},
{
"name": "tabulate",
"specs": [
[
"~=",
"0.8.9"
]
]
},
{
"name": "numpy",
"specs": []
},
{
"name": "matplotlib",
"specs": [
[
">=",
"3.2"
]
]
},
{
"name": "scikit-learn",
"specs": []
},
{
"name": "tsam",
"specs": []
},
{
"name": "pandas",
"specs": [
[
">=",
"2.0.3"
]
]
}
],
"lcname": "energy-pandas"
}