Skip to main content

# corregraphe

Correlation graphs are a great way to visualize and understand the relationship between features of tabular datasets.

This package leverages NetworkX, Scipy and HoloViews to easily draw correlation graphs on any Pandas DataFrame.

## Installation

` pip install corregraphe `

## Usage

Example on the Titanic dataset:

`python import pandas as pd from corregraphe import CorrelationGraph df = pd.read_csv("https://raw.githubusercontent.com/mwaskom/seaborn-data/master/titanic.csv") cg = CorrelationGraph(df) cg.draw() `

Drawing gives this Bokeh figure:

<img src=”example.png” width=”400”>

## Developer’s guide

  • checked with mypy and flake8

  • formatted with black and isort

  • basic functionality is tested with doctest by running python corregraphe/core.py

## License

This project is licensed under the MIT License.

MIT License

Copyright (c) 2019 theolamayo

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

corregraphe-0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file corregraphe-0.1-py3-none-any.whl.

File metadata

  • Download URL: corregraphe-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/20.7.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.2

File hashes

Hashes for corregraphe-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7383a219e8142964159e098052289861dc7b6904dceb3a586ed1de7fdca57514
MD5 2a6660dd3b0b205e707483534716bb28
BLAKE2b-256 4699b7ccf7a8a3542594fdfb5916f370ff132f3160b0b7cf183d4f55e03a5166

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1 This release

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page