Skip to content
Advertisement

Seaborn, how sum time in barplot?

pandas output:

JavaScript

and on python:

JavaScript

i am trying do barplot in seaborn, but i get error numeric. How use sum time value in barplot seaborn?

Advertisement

Answer

You need to convert value series to a numeric data type to plot it.

For example, assuming that value has a timedelta dtype. You can create another column in your dataframe.

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement