If you want to analyze simply, use ProfileReport

Gahyun Son - Oct 30 - - Dev Community

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.

. . . . . . . .
Terabox Video Player