CommencerCommencer gratuitement

.parse() method

From our previous exercise, we know the theater_report workbook has 4 tabs: sales, ticket types, theaters, and movies. Let's convert each tab into a DataFrame and look at them.

The theater_report workbook object has already been loaded for you.

Cet exercice fait partie du cours

Python for Spreadsheet Users

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Parse the sales tab of the theater report
sales = theater_report.____(____)

print(sales.head())
Modifier et exécuter le code