ReCorPy is a small package to reorder correlation matrices from dataframes for better visualizations
Project description
ReCorPy
A python's package for reordering/clustering correlation matrices
recorpy reorder correlation matrixes to get better visual analysis. All it is made with the original dataframe. And the result
is a new dataframe with columns reordered, to let you re-use it wherever you want.
Input parameters:
- method -
- model - , default:
- cluster - , default:
Installation
pip install recorpy
Usage
>>> df = pd.DataFrame(np.random.rand(3,3))
>>> ReorderCorr(df)
Development setup
$ python3 -m venv env
$ . env/bin/activate
$ make deps
$ tox
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Make sure to add or update tests as appropriate.
Use Black for code formatting and Conventional Commits for commit messages.
Changelog
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file recorpy-0.1.7.tar.gz.
File metadata
- Download URL: recorpy-0.1.7.tar.gz
- Upload date:
- Size: 16.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.13.0-52-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
382fe6b9ba387aa7bf96bb6287cdc066f55632189b2efcee46205236bc2cebf0
|
|
| MD5 |
e4ff31d6fe058fc209b349c00722d2a7
|
|
| BLAKE2b-256 |
ce2853c8a17d5832124210c788bd33f0e0380cec1a62012b0d45653a70a84007
|
File details
Details for the file recorpy-0.1.7-py3-none-any.whl.
File metadata
- Download URL: recorpy-0.1.7-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.8.10 Linux/5.13.0-52-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea53e6e262163ff5069f167e29f60d9ad65ea070f84657a4bf9710a0e9c2bc1d
|
|
| MD5 |
fa11ec186efec00ab79080cb20687cd9
|
|
| BLAKE2b-256 |
1d1104ba59e3b692836fd54922294ab58f061dcf391eb1c59850ea8244edf564
|