vpselector
The Visual Pandas Selector is a tool to visually select portions of numeric time-series data from a pandas dataframe. The tool is intended to provide an fast interactive way for manual data selection, as can be very useful in for example machine learning, regression or system identification.
Easily configure the tool to plot dataframe columns in vertically stacked subplots and view data distributions with the included histogram feature. With a simple click and drag, you can then select horizontal data windows, and let the tool automatically combine them into a new dataframe.
The user can subsequentially select different horizontal data windows via click and drag and he tool then automatically combines the visually selected sections into a new dataframe.
Install
Install the package using:
pip install vpselector
Use in your project
Then simply import it using import vpselector. Then simply use:
-
If your project does not contain a pyqt application:
vpselector.select_visual_data(data : pd.DataFrame, plot_config : dict) -
To add the vpselector to an existing pyqt application:
vpselector.select_visual_data_in_pyqt_app(data : pd.DataFrame, plot_config : dict, pyqt_app)
Run the Example
python3 vpselector_example.py
Use the Tool
- Left click with your mouse and drag to define the desired horizontal window of the data to be selected.
- The current selection distribution is now visualized in the histogram plot on the right.
- Confirm or cancel data selection.
- The already selected data is now marked by a grey span in the plot on the left.
- The plot on the right contains now the histogram of all selected data.
- repeat as many times as needed.
- Once you could select all desired horizontal data windows click "Done selecting"
Metadata
Release files for vpselector 1.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 |
|---|---|---|---|---|
| vpselector-1.0.2.tar.gz | 820.8 kB | Without provenance | Details for vpselector-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vpselector-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for vpselector-1.0.2-py3-none-any.whl |
Total release size: 833.4 kB
Release files / vpselector-1.0.2.tar.gz
| Download URL | vpselector-1.0.2.tar.gz |
|---|---|
| Size | 820.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
18f9e3408cd33309e9c486d26986b7bc049cffed99312e364422a60fc5671cad
|
|
BLAKE2b-256 checksum How to use checksums |
8a20aea42d15c30ed25cfde29356dc7fbc61c4dce0f92b85025a251563d93ef2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / vpselector-1.0.2-py3-none-any.whl
| Download URL | vpselector-1.0.2-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b13410d2b2a77d215bf9364e0550a385f329df76ac661574628a7efd1dc74219
|
|
BLAKE2b-256 checksum How to use checksums |
6ded8e239dfd3bfe60875c76d1964d3fd7fab05c92904a1fce8408d01fcaf327
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for vpselector 1.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.