Dython¶
Welcome!¶
Dython is a set of Data analysis tools in pYTHON 3.x, which can let you get more insights about your data.
This library was designed with analysis usage in mind - meaning ease-of-use, functionality and readability are the core values of this library. Production-grade performance, on the other hand, were not considered.
Here are some cool things you can do with it:
Given a dataset, Dython will automatically find which features are categorical and which are numerical, compute a relevant measure of association between each and every feature, and plot it all as an easy-to-read heat-map. And all this is done with a single line:
from dython.nominal import associations
associations(data)
Here's another thing - given a machine-learning multi-class model's predictions, you can easily display each class' ROC curve, AUC score and find the estimated-optimal thresholds - again, with a single line of code:
from dython.model_utils import metric_graph
metric_graph(y_true, y_pred, metric='roc')
Installation¶
Dython can be installed directly using pip
:
pip install dython
Examples¶
See some usage examples of nominal.associations
and model_utils.roc_graph
on the examples page.
All examples can also be imported and executed from dython.examples
.
Citing¶
Use this reference to cite if you use Dython in a paper:
@software{Zychlinski_dython_2018,
author = {Zychlinski, Shaked},
title = {{dython}},
year = {2018},
url = {https://github.com/shakedzy/dython},
doi = {10.5281/zenodo.12698421}
}