Last active
October 16, 2020 00:21
-
-
Save TheSkyFox3006/4181ce62b1d41fb4cfc8d011945cea0e to your computer and use it in GitHub Desktop.
Exploratory Data Analysis(EDA)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install all the below mention librarie before using pandas-profiling | |
import pandas as pd | |
import numpy as np | |
from pandas_profiling import ProfileReport | |
#EDA using pandas-profiling | |
profile = ProfileReport(pd.read_csv('titanic.csv'),title='Pandas Profiling Report',html={'style': {'full_width': True}}, sort="None")) | |
#to view result in jupyter notebook or google colab | |
profile.to_widgets() | |
#saving results into a HTML File | |
profile.to_file("result.html) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an easiest way to do Exploratory Data Analysis(EDA) using python on Titanic Dataset.