Data Cleaning - The concept of tidy data
When using Plotly Express, it expects so called tidy-data as input. Tidy Data is a concept of structuring datasets in a standardized way prior to analysis, to wrangle them into a standard format. This is considered an important task in data science to facilitate analysis. The tidy data in python article covers the support by pandas melt() function.