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?
Este exercício faz parte do curso
Python for Spreadsheet Users
Exercício interativo prático
Transforme a teoria em ação com um de nossos exercícios interativos
Começar o exercício