D-Tale is an amazing library that allows us to visualize a Pandas DataFrame
D-Tale provides user an interactive graphical interface in which we can define what visualiztion technics we want to apply on the data in order to perform Exploratory Data Analysis
Info about dataset from github Title: Haberman's Survival Data
Sources: (a) Donor: Tjen-Sien Lim (limt@stat.wisc.edu) (b) Date: March 4, 1999
Past Usage:
Relevant Information: The dataset contains cases from a study that was conducted between 1958 and 1970 at the University of Chicago's Billings Hospital on the survival of patients who had undergone surgery for breast cancer.
Number of Instances: 306
Number of Attributes: 4 (including the class attribute)
Attribute Information:
Age of patient at time of operation (numerical) Patient's year of operation (year - 1900, numerical) Number of positive axillary nodes detected (numerical) Survival status (class attribute) 1 = the patient survived 5 years or longer 2 = the patient died within 5 year Missing Attribute Values: None
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd
# pip3 install dtale
import dtale
df= pd.read_csv('haberman.csv',header=None)
df.head(10)
#there is no column names provided in dataset file
df.columns=['Age','Year','Aux_Nodes','Survival_Stat']
df.head(10)
You can use dtale.show() function to see the dataframe in "dtale" format
I commented that part as it won't show output here as it runs on a sever
If you are running this notebook on colab add this code:
import dtale.app as dtale_app
dtale_app.USE_COLAB = True
from IPython.display import Image
Image(filename='C:/Users/Chinmay/Desktop/dtale1.png')
from IPython.display import Image
Image(filename='C:/Users/Chinmay/Desktop/dtale2.png')
from IPython.display import Image
Image(filename='C:/Users/Chinmay/Desktop/df_charts1_dtale.png')
from IPython.display import Image
Image(filename='C:/Users/Chinmay/Desktop/df_charts2_dtale.png')
from IPython.display import Image
Image(filename='C:/Users/Chinmay/Desktop/df_charts3_dtale.png')
from IPython.display import Image
Image(filename='C:/Users/Chinmay/Desktop/df_corelations_dtale.png')
from IPython.display import Image
Image(filename='C:/Users/Chinmay/Desktop/df_describe_dtale.png')
from IPython.display import Image
Image(filename='C:/Users/Chinmay/Desktop/df_describe_dtale_histogram.png')