coversion R fuction in Python function

ggplot(data = df) + geom_bar(aes(y = comment))

can someone please tell me how can i change that R code into python(matplotlib) code.

Something like this?

It just calls matplotlib for the plot.
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.plot.bar.html

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.