ComenzarEmpieza gratis

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 ejercicio forma parte del curso

Python for Spreadsheet Users

Ver curso

Ejercicio interactivo práctico

Pon en práctica la teoría con uno de nuestros ejercicios interactivos

Empieza el ejercicio