Draw Figures with Plotly in Python
作者:XD / 发表: 2021年10月21日 09:50 / 更新: 2021年10月21日 09:50 / 编程笔记 / 阅读量:1810
Draw Figures with Plotly in Python
import plotly.express as px
import pandas as pd
data_frame = pd.read_excel('sample.xlsx', sheet_name='details')
df = data_frame[:1000]
fig = px.scatter_matrix(df, dimensions=["sum_paynum", "avg_paymoney","weekofyear"], color="sku_id")
fig.show()