I am fetching data from YouTube API to plot VideoCategories and the country in a stacked plot Bar chart:
I`m Trying:
country_category4 = df_AnzahlTag[['channelCountry', 'videoCategoryName']]
test5 = country_category4.set_index('channelCountry')['videoCategoryName'].value_counts()
test5.plot(kind='bar', stacked=True)
plt.show()



