Created
May 25, 2023 11:30
-
-
Save miriamspsantos/af0e26e69af7c02b784e77dcfc8155c6 to your computer and use it in GitHub Desktop.
Profiling Report for the Adult Census Income Dataset (Medium)
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
# Make the necessary imports | |
import pandas as pd | |
from ydata_profiling import ProfileReport | |
# Load the data | |
df = pd.read_csv('data/adult.csv', na_values='?') | |
# Generate the report | |
profile = ProfileReport(df,title="Adult Census Profile") | |
# Save the report to .html | |
profile.to_file("adult_report.html") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment