After this, we use the pandasDataFrame()method to define labels and data coordinates and we use theplot()method to draw a bar chart. By using theset_xticklabels()method we setxlabeland also set itsrotationtohor