CSV Compare
This is a very basic tool used for plotting and comparing csv data from two separate csv files.
Usage
A version of the jupyter notebook is hosted at mybinder.org
How is this used?
- Open the binder (https://mybinder.org/v2/gh/mitchute/energyplus-diff-analysis/main). This may take a few minutes to build and load the container images running behind the scenes. Once completed, mybinder.org will launch the jupyter dashboard in your web browser. This looks like a file explorer.
- Launch the "Make_Plots.ipynb" jupyter notebook by clicking on it from the jupyter dashboard. This will launch a new tab in your browser with this notebook loaded and running.
- Upload your data by clicking "upload" from the jupyter dashboard. For example, you could upload and name your baseline csv file "base.csv", and your modified version csv "mod.csv".
- Back over on the "Make_Plots" jupyter notebook, update the names of your baseline and modified csv data files to match what you uploaded.
- Select how you want your data plotted. See the examples section below for additional information.
- To execute, you can select Cell >> Run All (or other available options). You can also run individual cells with the "shift+return" command."
Examples
Example 1 - Plotting all columns with diffs
As described, this plots all columns
plot(baseline_path, mod_path, output_path)
Example 2 - Plot only one series
If you only want to plot a single column from the csv data, the column name can be passed explicitly to the cols field.
plot(baseline_path, mod_path, output_path, cols="Col Name 1")
Example 3 - Plot a selected set of columns from the csv data
The cols field also accepts a list input for when you want to plot more than one column, but not all of them.
plot(baseline_path, mod_path, output_path, cols=["Col Name 1", "Col Name 2"])
Example 4 - Plot one series for a specified number of rows
You may also specify the range of rows you want to plot.
plot(baseline_path, mod_path, output_path, cols="Col Name 1", low_row_num=10, high_row_num=20)
Example 5 - Only plot files with diffs
To plot all files with including files without diffs, you can add the plot_all_series flag and set it to True.
plot(baseline_path, mod_path, output_path, plot_all_series=True)
Example 6 - Zip plots
You can also zip your plots once plotting is complete for easier downloading.
plot(baseline_path, mod_path, output_path, create_archive=True)
Command Line Interface
There's also a command line interface.
$ energyplus_diffs --help
Usage: eplus-diff [OPTIONS] BASELINE_CSV MODIFIED_CSV OUTPUT_DIR
Options:
-p, --plot-all-series Plot all series including series without diffs
-a, --create-archive Create archive of plots afterwards
--help Show this message and exit.
Metadata
Release files for energyplus-diff-analysis 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| energyplus_diff_analysis-0.2.tar.gz | 6.4 kB | Without provenance | Details for energyplus_diff_analysis-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| energyplus_diff_analysis-0.2-py3-none-any.whl | Python 3 | none | any | Details for energyplus_diff_analysis-0.2-py3-none-any.whl |
Total release size: 13.8 kB
Release files / energyplus_diff_analysis-0.2.tar.gz
| Download URL | energyplus_diff_analysis-0.2.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3f30738a4140e9acfb6c38f264a1d3e471b8a5fc60260f6c211bf4badd47c60
|
|
BLAKE2b-256 checksum How to use checksums |
65806283cd9716f1f26a56be1e8aee35230cf9a3454a10a49256e868929f7c11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Release files / energyplus_diff_analysis-0.2-py3-none-any.whl
| Download URL | energyplus_diff_analysis-0.2-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9dbb85aef2c5b81ef971c10f3d3f22883f8057564b1a2330011e63c7cd145c6b
|
|
BLAKE2b-256 checksum How to use checksums |
de173047ba9a9e86c1ab69661abd032ac6f9d4f700b34652fa28f4dc5be6f4fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.2
|
Security for energyplus-diff-analysis 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.