Use Pandas index in Plotly Express

前端 未结 3 1447
北海茫月
北海茫月 2020-12-17 15:05

Plotly Express allows me to easily plot a pandas dataframe, as explained in their examples. Rather than using a named column for x and a named column for y, I would like to

3条回答
  •  隐瞒了意图╮
    2020-12-17 15:54

    You can only pass the column name at x & y parameters of px.scatter(). Seems there is no column named "index" in the iris dataset.

提交回复
热议问题