# RESOLUCIÓN
df6 = (my_df.groupby(by='country_name').sum()).sort_values('total_amount', ascending=False)
pd.options.display.float_format='$ {:,.2f}'.format
print(df6[['total_amount']].head(5))
# RESOLUCIÓN GRÁFICA
plt.bar(df6.index, df6['total_amount'], color='tab:pink')
plt.xticks(rotation=90)
plt.show()
# RESOLUCIÓN
df7 = (my_df.groupby(by='country_name').sum()).sort_values('quantity', ascending=False)
pd.options.display.float_format='$ {:,.2f}'.format
print(df7[['quantity']])
# RESOLUCIÓN GRÁFICA
plt.plot(df7.index,df7['quantity'],'#00FF00')
plt.xticks(rotation=90)
plt.show()
# RESOLUCIÓN
df8 = my_df.loc[(my_df['seller_name'] == 'Janel O\'Curran') & (my_df['country_name'] == 'Brazil')].head() # | == OR
print (df8)
# RESOLUCIÓN GRÁFICA
plt.pie(x=df8['quantity'],labels=df8['article_name'],startangle=90, autopct='%1.2f%%')
plt.show()