一行代码实现数据可视化
import pandas_profiling
os.chdir('E:\\python\\pyecharts\\example')
data = pd.read_csv('happiness_train_abbr.csv')
data.describe()
# data.profile_report(title='happiness_train_abbr')
profile = data.profile_report(title='happiness_train_abbr')
profile.to_file(output_file='happiness_train_abbr_report.html')