MulaiMulai sekarang secara gratis

.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.

Latihan ini adalah bagian dari kursus

Python for Spreadsheet Users

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

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

print(sales.head())
Edit dan Jalankan Kode