0% found this document useful (0 votes)
45 views2 pages

D Tale

D-Tale is a tool that combines a Flask back-end and a React front-end for viewing and analyzing Pandas data structures, including DataFrame and Series. It can be easily integrated with ipython notebooks and terminals, allowing users to visualize their data interactively. The document also includes installation instructions and a brief example of how to use D-Tale with a sample dataset.

Uploaded by

kunkalasridevi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views2 pages

D Tale

D-Tale is a tool that combines a Flask back-end and a React front-end for viewing and analyzing Pandas data structures, including DataFrame and Series. It can be easily integrated with ipython notebooks and terminals, allowing users to visualize their data interactively. The document also includes installation instructions and a brief example of how to use D-Tale with a sample dataset.

Uploaded by

kunkalasridevi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

D-Tale

D-Tale is the combination of a Flask back-end and a React front-end to bring you an easy way to view &
analyze Pandas data structures. It integrates seamlessly with ipython notebooks & python/ipython terminals.
Currently this tool supports such Pandas objects as DataFrame, Series, MultiIndex, DatetimeIndex &
RangeIndex.

In [1]:

! pip install -U dtale

Collecting dtale
Downloading dtale-1.44.1-py2.py3-none-any.whl (14.4 MB)
Collecting squarify
Downloading squarify-0.4.3-py3-none-any.whl (4.3 kB)
Collecting lz4; python_version > "3.0"
Downloading lz4-3.1.3-cp37-cp37m-win_amd64.whl (192 kB)
Requirement already satisfied, skipping upgrade: scipy in c:\users\dell\ap
pdata\roaming\python\python37\site-packages (from dtale) (1.5.4)
Requirement already satisfied, skipping upgrade: requests in c:\users\dell
\appdata\roaming\python\python37\site-packages (from dtale) (2.25.1)
Collecting kaleido; python_version > "3.6"
Downloading kaleido-0.2.1-py2.py3-none-win_amd64.whl (65.9 MB)
Collecting strsimpy
Downloading strsimpy-0.2.0-py3-none-any.whl (45 kB)
Requirement already satisfied, skipping upgrade: Flask>=1.0 in c:\programd
ata\anaconda3\lib\site-packages (from dtale) (1.1.1)
Collecting dash>=1.5.0
Downloading dash-1.20.0.tar.gz (77 kB)
Requirement already satisfied, skipping upgrade: et-xmlfile; python_versio
n > "3 6" in c:\programdata\anaconda3\lib\site packages (from dtale) (1

Import Dataset
In [2]:

import pandas as pd

# Penguins
df = pd.read_csv('demo1.csv')
In [3]:

df.head()

Out[3]:

GREScore CGPA predict

0 337 9.65 0.92

1 324 8.87 0.76

2 316 8.00 0.72

3 322 8.67 0.80

4 314 8.21 0.65

Using dtale
In [5]:

import dtale
import dtale.app as dtale_app

dtale_app.USE_NGROK = True
dtale.show(df)

‣ 3
GREScore ⋮ CGPA ⋮ predict ⋮
400

0 D-TALE
337 9.65 0.92
1 324 8.87 0.76
 Charts
2 316 8.00 0.72
 Network Viewer
3 322 8.67 0.80
 Heat Map By Col Overall
4 314 8.21 0.65
Highlight Dtypes
5 330 9.34 0.90
Highlight Missing
6 321 8.20 0.75
Highlight
7 Outliers
308 7.90 0.68
Highlight
8 Range
302 8.00 0.50

 Low9 Variance Flag


323 8.60 0.45
10 325 8.40 0.52
 Instances 2

11 327 9.00 0.84


 Code Export
12 328 9.10 0.78
 Export CSV TSV
13 307 8.00 0.62
 Load
14
Data
311 8.20 0.61
 Refresh Widths
15 314 8.30 0.54
 About
16 317 8.70 0.66
 Theme
17 Light
319 Dark 8 00 0 65

Out[5]:

You might also like