All Projects → nk412 → Corella

nk412 / Corella

Licence: mit
Beautiful correlation plots for the terminal

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Corella

Ed
A modern UNIX ed (line editor) clone written in Go
Stars: ✭ 44 (-31.25%)
Mutual labels:  cli, command-line
Cliwrap
Library for running command line processes
Stars: ✭ 1,057 (+1551.56%)
Mutual labels:  cli, command-line
React Cli
a react renderer for the command line
Stars: ✭ 44 (-31.25%)
Mutual labels:  cli, command-line
Snoo
A Reddit command line client written in Node.js, using modern ES-features
Stars: ✭ 39 (-39.06%)
Mutual labels:  cli, command-line
Npm Compare
Compare npm packages from your terminal
Stars: ✭ 55 (-14.06%)
Mutual labels:  cli, command-line
Cac
Simple yet powerful framework for building command-line apps.
Stars: ✭ 1,017 (+1489.06%)
Mutual labels:  cli, command-line
Lucid
A simple mock-application for programs that work with child processes
Stars: ✭ 45 (-29.69%)
Mutual labels:  cli, command-line
Cht.exe
cht.sh libcurl client for windows XP+ with changed colorization
Stars: ✭ 15 (-76.56%)
Mutual labels:  cli, command-line
Rff Cli Example
An example of how to use 🏁 React Final Form in a CLI application with Ink
Stars: ✭ 55 (-14.06%)
Mutual labels:  cli, command-line
Rang
A Minimal, Header only Modern c++ library for terminal goodies 💄✨
Stars: ✭ 1,080 (+1587.5%)
Mutual labels:  cli, command-line
Make Me Lol
😄 A command-line tool to make you laugh
Stars: ✭ 38 (-40.62%)
Mutual labels:  cli, command-line
Q
q - Run SQL directly on CSV or TSV files
Stars: ✭ 8,809 (+13664.06%)
Mutual labels:  cli, command-line
Wonders
🌈 Declarative JavaScript framework to build command-line applications.
Stars: ✭ 34 (-46.87%)
Mutual labels:  cli, command-line
Pyp
Easily run Python at the shell! Magical, but never mysterious.
Stars: ✭ 1,020 (+1493.75%)
Mutual labels:  cli, command-line
Todo r
Find all your TODO notes with one command!
Stars: ✭ 28 (-56.25%)
Mutual labels:  cli, command-line
Fast Xml Parser
Validate XML, Parse XML to JS/JSON and vise versa, or parse XML to Nimn rapidly without C/C++ based libraries and no callback
Stars: ✭ 1,021 (+1495.31%)
Mutual labels:  cli, command-line
Executor
Watch for file changes and then execute command. Very nice for test driven development.
Stars: ✭ 14 (-78.12%)
Mutual labels:  cli, command-line
Ecsctl
Command-line tool for managing AWS Elastic Container Service and Projects to run on it.
Stars: ✭ 15 (-76.56%)
Mutual labels:  cli, command-line
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (-17.19%)
Mutual labels:  cli, command-line
Ntutils
Various Command Line Utilities Ported to Windows NT
Stars: ✭ 58 (-9.37%)
Mutual labels:  cli, command-line

corella

Correlation plots on the terminal, for quick and simple insights. Powered by pandas.

Dataset source: FIFA World Cup 2018 Match Stats

Quickstart

Requires Python3. Currently, only CSV files are supported.
The dataset parsing and correlation calculation is all done via pandas.

pip install corella

Usage

Command Line

corella accepts CSV data either through STDIN or as an input file.

cat file.csv | corella or corella --input file.csv

Supported CLI options

--pos-color

Set the color to use for positive correlation. Defaults to light_red
Supported colors include black, red, green, yellow, blue, magenta, cyan, white and light_gray, dark_gray, light_red, light_green, light_yellow, light_blue, light_magenta, light_cyan.
Full list of all 256 supported colors can be found at the colored project page.

--neg-color

Set the color to use for negative correlation. Defaults to light_blue

--input

Optional input CSV file. If specified, STDIN is ignored.

--delimiter

The delimiter for the CSV file. Defaults to ,.

--method

The method to use for calculating the correlation coefficient. Defaults to pearson.
https://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.corr.html

--padding

The character padding to use on the left of the plot. Defaults to 20. If the length of a column name exceeds the specified padding, it is ignored.

--no-header

A flag to specify if the provided input does not have a header. Defaults to False. If specified, column numbers are used as names instead.

Usage within Python

from corella import Corella
C = Corella()
C.draw(pandas_df)

Sample datasets

Two datasets are provided within ./datasets/

  1. The Iris dataset
  2. FIFA World Cup 2018 Match Stats from Kaggle.

Try corella --input datasets/iris.csv --pos-color light_magenta --neg-color blue --padding 30

License

MIT

Thanks

colored

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].