BaşlayınÜcretsiz Başlayın

Top grossing films

Now that we know how to make barplots, let's visualize our sales data. The following data manipulation was done to sales in order to create the movie_totals dataset you will work with in the exercise:

(scroll to the right to see more)

movie_totals = sales.groupby('movie_title', as_index=False).sum()

movie_totals = movie_totals.sort_values('revenue', ascending=False).reset_index(drop=True)

Note that it's the sorting of data above that will make our visualization that much more pleasing to look at.

Bu egzersiz

Python for Spreadsheet Users

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Import viz packages
Kodu Düzenle ve Çalıştır