text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

df = pd.read_csv('/kaggle/input/videogamesales/vgsales.csv')
df

over10000 = df[df['Global_Sales'] > 0.01]
over10000

top_3_publishers_total_sales = over10000.groupby('Publisher')['Global_Sales'].sum().nlargest(3)
print('Top 3 publishers with the highest total sales:')
print(top_3_publishers_total_sales)