Plotly: How to make a line plot from a pandas dataframe with a long or wide format?

前端 未结 2 1692
一个人的身影
一个人的身影 2021-01-20 03:51

(This is a self-answered post to help others shorten their answers to plotly questions by not having to explain how plotly best handles data of long and wide format)

2条回答
  •  耶瑟儿~
    2021-01-20 04:21

    I'm going to add this as answer so it will be on evidence. First of all thank you @vestland for this. It's a question that come over and over so it's good to have this addressed and it could be easier to flag duplicated question.

    Plotly Express now accepts wide-form and mixed-form data as you can check in this post.

提交回复
热议问题