Metadata-Version: 2.1
Name: recorpy
Version: 0.1.6
Summary: ReCorPy is a small package to reorder correlation matrices from dataframes for better visualizations
Home-page: https://github.com/thebooort/ReCorPy
Keywords: correlation matrix,visualization,clustering
Author: thebooort
Author-email: 18428931+thebooort@users.noreply.github.com
Requires-Python: >=3.8,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: numpy (>=1.23.0,<2.0.0)
Requires-Dist: pandas (>=1.4.3,<2.0.0)
Requires-Dist: scikit-learn (>=1.1.1,<2.0.0)
Project-URL: Documentation, https://recorpy.readthedocs.io/en/latest/index.html
Project-URL: Repository, https://github.com/thebooort/ReCorPy
Description-Content-Type: text/markdown


<p align="center">
  <img src="https://raw.githubusercontent.com/thebooort/ReCorPy/main/assets/logo.png">
</p>
<h2 align="center">ReCorPy</h2>

> A python's package for reordering/clustering correlation matrices

[![DOI](https://zenodo.org/badge/506917975.svg)](https://zenodo.org/badge/latestdoi/506917975)
[![Documentation Status](https://readthedocs.org/projects/recorpy/badge/?version=latest)](https://recorpy.readthedocs.io/en/latest/?badge=latest)
[![PyPI Version][pypi-image]][pypi-url]
[![Build Status][build-image]][build-url]
[![Coverage Status](https://coveralls.io/repos/github/thebooort/ReCorPy/badge.svg?branch=main)](https://coveralls.io/github/thebooort/ReCorPy?branch=main)
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>

`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

```sh
pip install recorpy
```

## Usage


```python
        >>> df = pd.DataFrame(np.random.rand(3,3))
        >>> ReorderCorr(df)
```

## Development setup

```sh
$ 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](https://black.readthedocs.io/en/stable/) for code formatting and [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0-beta.4/) for commit messages.

## [Changelog](CHANGELOG.md)

## License

[GPL](https://choosealicense.com/licenses/gpl/)

<!-- Badges -->

[pypi-image]: https://img.shields.io/pypi/v/recorpy
[pypi-url]: https://pypi.org/project/recorpy/
[build-image]: https://github.com/thebooort/recorpy/actions/workflows/python-app.yml/badge.svg
[build-url]: https://github.com/thebooort/recorpy/actions/workflows/python-app.yml


