# Show and Tell -Datamallet Python library for Automatic Data Visualization and Data Preprocessing

**URL:** <https://community.plotly.com/t/show-and-tell-datamallet-python-library-for-automatic-data-visualization-and-data-preprocessing/60108>\
**Category:** 📊 Plotly Python\
**Tags:** show-and-tell\
**Created:** [January 15, 2022, 2:50pm UTC](https://community.plotly.com/t/show-and-tell-datamallet-python-library-for-automatic-data-visualization-and-data-preprocessing/60108 "2022-01-15T14:50:28Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![bodealamu](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@bodealamu](https://community.plotly.com/u/bodealamu)\
**Post date:** [January 15, 2022, 2:50pm UTC](https://community.plotly.com/t/show-and-tell-datamallet-python-library-for-automatic-data-visualization-and-data-preprocessing/60108/1 "2022-01-15T14:50:28Z")

</div>

Good day everyone!  
I am pleased to introduce **datamallet** to you.

Datamallet is an open source collection of helpful functions and modules built by Data scientists for Data scientists, to help expedite the data science workflow.

 ![1 datamallet](https://us1.discourse-cdn.com/flex024/uploads/plot/original/3X/8/3/83be24ccc5e591821744ad6b861b46d46c6e85b3.jpeg)

Datamallet is built on top of **Scikit-learn, plotly, pandas, numpy and scipy**. It contains helpful scikit-learn transformers for preprocessing data, creating new features and automatic data visualization.

**Installation**

```auto
pip install datamallet

```

Since this is the plotly forum, I would like to show how the **autoplot** function within datamallet works.

**Library imports**

```auto
from datamallet.visualization import AutoPlot

```

```auto
import plotly.express as px

```

```auto
from datamallet.visualization import AutoPlot

```

**Use inbuilt dataframe from plotly express (this can be replaced with your dataframe**

```auto
tips = px.data.tips()

```

**Instantiate an autoplot object**

```auto
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')

```

**Call the show method, this creates an html file with all the plotly charts, as well as a list of plotly graph objects**

```auto
list_of_charts = autoplot.show()

```

**Look in your directory, and there should be an autoplot.html file (you can change the filename attribute to anything you want), this file would contain scatter plots, correlation plots, histograms, boxplots, violinplots, treemaps, sunburst charts, pie charts (more charts to come).**

These charts are created by some heuristics which I have come across during my day to day job as a Data scientist. and more attributes can be specified in the Autoplot class.

**As of version 0.10.2, (over 20 releases so far) datamallet supports the following chart types:**  
  
-Scatter plots.  
  
-Correlation plots.  
  
-Histogram.  
  
-Box plots.  
  
-Violin plots.  
  
-Treemaps.  
  
-Sun burst Charts.  
  
-Pie Charts.

And a ton of scikit-learn compatible data transformers.

I am interested in having new collaborators and people interested in becoming core developers 🕶.

**Important links**

**Github repo** [https://github.com/bodealamu/datamallet](https://github.com/bodealamu/datamallet)  
**Pypi page** [https://pypi.org/project/datamallet/](https://pypi.org/project/datamallet/)

---

<div class="post-metadata">

**Author:** ![adamschroeder](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/adamschroeder/32/17280_2.png) [@adamschroeder](https://community.plotly.com/u/adamschroeder)\
**Post date:** [January 19, 2022, 9:40pm UTC](https://community.plotly.com/t/show-and-tell-datamallet-python-library-for-automatic-data-visualization-and-data-preprocessing/60108/2 "2022-01-19T21:40:21Z")

</div>

Hi Olabode @bodealamu  
Thank you for sharing Datamallet with us. I’m very intrigued. Would you mind sharing images or gifs to the post so we get a better understanding of what Datamallet is capable of? I think that would also help community member quickly understand the full potential of Datamallet.

---

<div class="post-metadata">

**Author:** ![bodealamu](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@bodealamu](https://community.plotly.com/u/bodealamu)\
**Post date:** [January 21, 2022, 4:18pm UTC](https://community.plotly.com/t/show-and-tell-datamallet-python-library-for-automatic-data-visualization-and-data-preprocessing/60108/3 "2022-01-21T16:18:36Z")

</div>

I would do so, also as of version 0.12.0, it has support for density contour charts as well as density heatmap.

---

<div class="post-metadata">

**Author:** ![bodealamu](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@bodealamu](https://community.plotly.com/u/bodealamu)\
**Post date:** [February 22, 2022, 12:45pm UTC](https://community.plotly.com/t/show-and-tell-datamallet-python-library-for-automatic-data-visualization-and-data-preprocessing/60108/4 "2022-02-22T12:45:12Z")

</div>

I recently uploaded a short video demonstrating datamallet for visualization to youtube. People that are interested can jump to the **5 mins mark.**

[![](https://img.youtube.com/vi/pPRNMSGtedo/maxresdefault.jpg "How to Create all plotly express charts automatically in under 10 lines of code using datamallet") ](https://www.youtube.com/watch?v=pPRNMSGtedo)

---

<div class="post-metadata">

**Author:** ![adamschroeder](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/adamschroeder/32/17280_2.png) [@adamschroeder](https://community.plotly.com/u/adamschroeder)\
**Post date:** [February 22, 2022, 2:32pm UTC](https://community.plotly.com/t/show-and-tell-datamallet-python-library-for-automatic-data-visualization-and-data-preprocessing/60108/5 "2022-02-22T14:32:40Z")

</div>

Great video that explains DataMallet. Thanks for making sharing with us, @bodealamu

---

<div class="post-metadata">

**Author:** ![SamuelVT](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/samuelvt/32/20818_2.png) [@SamuelVT](https://community.plotly.com/u/SamuelVT)\
**Post date:** [February 22, 2022, 7:56pm UTC](https://community.plotly.com/t/show-and-tell-datamallet-python-library-for-automatic-data-visualization-and-data-preprocessing/60108/6 "2022-02-22T19:56:56Z")

</div>

Hi [bodealamu](https://community.plotly.com/u/bodealamu)

Looks 👍, Thanks 🙏 for sharing.

---

<div class="post-metadata">

**Author:** ![bodealamu](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@bodealamu](https://community.plotly.com/u/bodealamu)\
**Post date:** [February 23, 2022, 1:26pm UTC](https://community.plotly.com/t/show-and-tell-datamallet-python-library-for-automatic-data-visualization-and-data-preprocessing/60108/7 "2022-02-23T13:26:58Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![bodealamu](https://avatars.discourse-cdn.com/v4/letter/b/e495f1/32.png) [@bodealamu](https://community.plotly.com/u/bodealamu)\
**Post date:** [February 23, 2022, 1:27pm UTC](https://community.plotly.com/t/show-and-tell-datamallet-python-library-for-automatic-data-visualization-and-data-preprocessing/60108/8 "2022-02-23T13:27:57Z")

</div>

Thank you! The focus of the video was just on the visualization aspect, but datamallet does much more.
