D-Tale is a new recently launched(Feb 2020) tool for Exploratory Data Analysis. It is made up of Flask(for back-end) and React(for Front-end) providing a powerful analysing and visualizing tool.
D-Tale is a Graphical User Interface platform that is not only Quick & Easy to understand but also great fun to use. It comes with so many features packed and loaded in it that reduces the manual work of Data Engineers/Scientists analysing and understanding the data and removes the load of looking for multiple different libraries used in EDA.
Let's have a look at some features which make it so amazing:-
1. Seamless Integration -- D-tale provides seamless integration with multiple python/ipython notebooks and terminals. So, we can use it with almost any IDE of our choice.
2. Friendly UI -- The Graphical User Interface provided by D-tale is quite simple and easy to understand, such that anybody can easily get friendly with it & start working right away.
3. Support of multiple Python objects -- D-tale allows EDA for various Python Objects such as DataFrame, Series, MultiIndex, DatetimeIndex & RangeIndex.
4. Easy Installation -- Installing and getting ready with D-tale is very easy it takes only a few minutes of patience, & we are ready with our EDA tool to start playing with it.
5. Tools -- It comes pre-loaded with a huge amount of tools which makes our work a lot easier.
Installation
We can install D-tale easily using conda or pip.
Code:-
## conda installation
conda install dtale
## pip installation
pip install --upgrade dtale
## Jupyter Notebook installation
!pip install dtale
What are you waiting for? Let's install it and start exploring.
Upon completion of the installation process, we will get the "Successfully Installed" message and will be asked to restart our kernel(in the case of Jupyter Notebook).
After restarting the kernel we are good to go with our D-tale.
Installing D-Tale |
Getting Started
Once installed, the next thing is to get the tool on the desk and start working on it. To get it going, we need to do the following:-
Code:-
import dtale
dtale.show(df)
that's it... and we are welcomed by a great and perfectly organised EDA of our data.
Overview of UI
Great. We just installed and opened our first data set for EDA using D-tale.
*Please Note:- We prefer using Titanic Dataset as our first dataset for analysis.
Saying that... let's start and see what all does D-tale has to offer us.
Code:-
Importing and Initializing.
Import and Show |
on executing the show command we are greeted with a table like structure, but it's interactive and offers a lot of options
D-tale UI |
A great feature about this is that it offers an option to open the entire table in a new tab window, making the visuals clearer. We can select this option from the yellow marked arrow in the above picture in the top left corner.
Menu options |
D-tale new tab |
- Light/Dark theme option.
- Exporting the dataset in CSV/TSV format.
- Loading the data.
- Exporting the code.
- Resizing the column widths.
- Reloading the data.
- Filters.
- Show/Hide Columns... etc...etc.. and the list goes on...
Exploring the Features
Don't wait, get started and share your experience.
Summary
We learned about the new library which makes the entire EDA process simple, Quick, Easy and Fun. We have covered its installation, few important features and their details.
Hope you enjoy reading this article and love using the library as much as we do.
Comments
Post a Comment