Data Visualization
General Info
Useful Snippets

13.0.0 Bar Chart

Example:

import pandas as pd

# First create a dataframe
DF = pd.DataFrame()

# Now create new columns and set them equal to your lists
DF['column_name']  = [1,2,3,6,45,4,4,4,5,3,2,2,3,2,4,4,2,3,4,3,3,2,3,4,3,2,6,6,7,6,5,4,4,3,2,4,8,8,6,5,5]
DF['column_two']   = [2,3,6,45,4,4,4,5,3,2,2,3,2,4,4,2,3,4,3,3,2,3,4,3,2,6,6,7,6,5,4,4,3,2,4,8,8,6,5,5,4]
DF['column_three'] = [3,6,45,4,4,4,5,3,2,2,3,2,4,4,2,3,4,3,3,2,3,4,3,2,6,6,7,6,5,4,4,3,2,4,8,8,6,5,5,2,3]
DF['labels']       = ['A','A','B','A','B','C','A','C','A','C','A','B','C','B','A','B','C','A','B','A','B','C','B','C','B','C','B','A','B','B','B','A','B','C','B','A','C','C','B','C','A']

################################################################

DF_Grouped = DF.groupby(['labels'])['column_two'].mean()

plot_object = DF_Grouped.plot(kind   = 'bar'
                  , title   = 'my chart title'
                  , ylabel  = 'my y-axis label'
                 # , xlabel  = 'here is my x-axis label'
                  , figsize = (3,3))

# This is suppose to add labels to the x-axis
for i, t in enumerate(plot_object.get_xticklabels()):
    if(1 % 5) != 0:
        t.set_visible(False)