DEV Community

Gahyun Son
Gahyun Son

Posted on

If you want to analyze simply, use ProfileReport

If you don't know how to analyze with code or don't have a time, you can simply use ProfileReport library.

The steps is very simple too.

  1. Install
    pip install ydata-profiling

  2. Import and use it

import pandas as pd
import numpy as np

from ydata_profiling import ProfileReport

df = pd.read_csv('data.csv')
report = ProfileReport(df, title='Data analysis')
report.to_file("Data_report.html")
Enter fullscreen mode Exit fullscreen mode

It will be stored as 'Data_report.html'.

It automatically report these things.

  • Information of the data
  • Type of the variable
  • Count None value
  • Descriptive statistic of the variables
  • Correlation each of the variables
  • Visualization of the analysis (auto adjusted type of graph)
  • etc.

It was very helpful to write a report quickly.

Top comments (0)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay