https://github.com/mbonvini/energyanalysiswithpandas
Analyze energy data with Python and Pandas
https://github.com/mbonvini/energyanalysiswithpandas
energy pandas python tutorial-code
Last synced: about 1 year ago
JSON representation
Analyze energy data with Python and Pandas
- Host: GitHub
- URL: https://github.com/mbonvini/energyanalysiswithpandas
- Owner: mbonvini
- License: mit
- Created: 2016-01-23T20:16:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-02-27T17:45:15.000Z (over 10 years ago)
- Last Synced: 2025-04-06T16:49:14.955Z (about 1 year ago)
- Topics: energy, pandas, python, tutorial-code
- Language: Python
- Size: 505 KB
- Stars: 14
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Analyze energy data with Pandas
This small project contains a code snippet that shows how
to use Python and in particular Pandas to analyze energy
data. For more information about Pandas look [here](https://pandas.pydata.org)
Please look at the [wiki](https://github.com/mbonvini/EnergyAnalysisWithPandas/wiki)
for more information and see the results.
### Data
The data used by the script is located in the `/raw_data` folder
and consists of five csv files.
Each file contains measurements for a single house. The measured quantities
are
- root mean square (RMS) voltage,
- RMS current,
- active (real) power
Please note that the data has been generated by hand using this tool
[TimeSeriesMaker](http://mbonvini.github.io/TimeSeriesMaker/), as a result the energy
usage does not contain any personal information.
### Usage
To run the script provided in this example simply run
```
python ./script.py
```
from the folder containing the file `script.py`.
### Dependencies
The script has been tested with
- [Numpy](https://www.numpy.org) version 1.9.3,
- [Pandas](https://pandas.pydata.org) version 0.16.2,
- [Matplotlib](https://matplotlib.org) version 1.4.3
### Authors
- Marco Bonvini
### Contributions
Contributions are welcome! If you'd like to contribute please submit a pull request
with the changes you'd like to implement.
### License
The MIT License (MIT)
Copyright (c) 2016 Marco Bonvini
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
and associated documentation files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge, publish, distribute,
sublicense, and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT
NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.