I have two DataFrames (trail1 and trail2) with the following columns: Genre, City, and Number Sold. Now I want to create a bar graph of both data sets for a side by side compari
You're one the right track, but you want merge rather than concat. Try this:
merge
concat
DF = pd.merge(df1,df2,on=['Genre','City']) DF.Groupby([['Genre','City']]).sum().unstack().plot(kind = 'bar')