数据分析神库pandas_profiling

以下代码在jupyter notebook中测试通过

import pandas_profiling
import seaborn as sns
import pandas as pd
import pandas_profiling as pp
import matplotlib.pyplot as plt
# 加载泰坦尼克数据集
data = sns.load_dataset('titanic')
data.head()

在这里插入图片描述

report = pp.ProfileReport(data)
report

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
更多信息就不上图了,自行体验吧,不得不感叹这一句代码得到的信息实在的太多了。

猜你喜欢

转载自blog.csdn.net/qq_36936510/article/details/105317597