Skip to main content

datamallet

Screenshot

Datamallet is a collection of helpful functions and modules built by Data scientists for Data scientists, to help expedite the data science workflow.
From a technical standpoint, datamallet is built on top of the following libraries:

  1. Scikit-learn (for creating the transformer classes).
  2. Plotly (for the automatic visualization function).
  3. Pandas (for creating scikit-learn compatible transformers, and for creating utility functions for wrangling data).
  4. Numpy
  5. Scipy.

The goal of this project is to help Data scientists become more efficient in their roles by providing commonly used functionality that have been battle tested and have been contributed by other Data scientists.

Installation

datamallet is available on pip and can be installed using the command below:

pip install datamallet

Tests

from the main directory, you can run the tests by simply running the pytest command.

pytest

Quick start

Automatic Data Visualization

from datamallet.visualization import AutoPlot
import plotly.express as px
from datamallet.visualization import AutoPlot

tips = px.data.tips()

autoplot = AutoPlot(df=tips,include_scatter=True,include_pie=True,include_box=True, include_sunburst=True, include_violin=True, include_treemap=True, include_histogram=True, include_correlation=True, create_html=True, filename='autoplot')

list_of_charts = autoplot.show()

An html file with filename autoplot.html would be created (check the current directory, a sample is also found in this repo), the show method also creates a list of the plotly graph objects, so you have the option of not creating the chart but using the list of graph objects to display the charts.

for chart in list_of_charts:
chart.show()

Modules

datamallet currently has the following modules

  1. Visualization module which contains helper functions for automatic visualization and for creating different types of charts such as:
    -Scatter plots.
    -Correlation plots.
    -Histogram.
    -Box plots.
    -Violin plots.
    -Treemaps.
    -Sun burst Charts.
    -Pie Charts.
    -Density Contour Charts.
    -Density Heatmap.

All these charts can be created automatrically using the Autoplot class in the visualization module, they can also be created using individual functions in the plot module.

  1. Tabular module contains scikit-learn compatible transformers for data manipulation for tabular data, (data which can be found in a table (pandas dataframe) either pure tabular or timeseries). The classes found in the tabular module can be used in a scikit-learn pipeline.
    The Tabular module contains the following submodules:
    -features which contains scikit-learn compatible transformer classes for creating new features (more classes are welcome).
    -timeseries which contains transformers for manipulating time series data.
    -utils which contains helper functions for data wrangling and carrying out checks.
  • preprocess which contains transformers for preprocessing data.

Release files for datamallet 0.22.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datamallet 0.22.0
File Size Uploaded
datamallet-0.22.0.tar.gz 23.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datamallet 0.22.0
File Interpreter ABI Platform
datamallet-0.22.0-py3-none-any.whl Python 3 none any Details

Total release size: 51.0 kB

Release files / datamallet-0.22.0.tar.gz

Download URL datamallet-0.22.0.tar.gz
Size 23.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d64a5aa170cd5f6cbc52d0ab11fb7231f213b6f814a4cadc56dfb4284c282bda
BLAKE2b-256 checksum
How to use checksums
c971e9642a2d54eebd7d49aa192a5d8d782c996aa8102a6298f48e62e6b6e9ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.6

Release files / datamallet-0.22.0-py3-none-any.whl

Download URL datamallet-0.22.0-py3-none-any.whl
Size 28.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ab9e8dcd81baed4e6c500aef895d38ea464a8760d332df04707f2338e5168fd
BLAKE2b-256 checksum
How to use checksums
4ab1173477ea5eab25c62dd46488bc31dd222ca17f7123363bd02b066f8732bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.22.0 This release

2 release files

0.21.0

2 release files

0.20.1

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.0

2 release files

0.17.2

2 release files

0.17.1

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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