Pure summary with .sum()
For this chapter, we'll work with a larger sales DataFrame, which has already been loaded for you. It contains transaction-level data of tickets purchased. Each row represents a single customer purchasing tickets for one movie at one theater location. Feel free to explore this data with the methods you learned about in Chapter 1, like .head().
For this exercise, use the .sum() method with the appropriate arguments to answer the question:
What is the total number of tickets sold according to the ticket_quantity column?
Latihan ini adalah bagian dari kursus
Python for Spreadsheet Users
Latihan interaktif praktis
Ubah teori menjadi tindakan dengan salah satu latihan interaktif kami.
Mulai berolahraga