Aan de slagGa gratis aan de slag

Loading data

The pandas package, which you now know how to import as pd, has a useful function, read_excel(), that will load in our Excel data.

The ticket_sales.xlsx file contains data relating to ticket sales for several (fake and punny) movies at a few different theater locations. Maybe they're your theaters.

Let's get this data into Python so you can start looking at movie and location performance.

Deze oefening maakt deel uit van de cursus

Python for Spreadsheet Users

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Import the pandas package as pd


# Use the read_excel function to load ticket_sales.xlsx
pd.____(____)
Code bewerken en uitvoeren