MulaiMulai sekarang secara gratis

Importing packages

Code packages are an important part of using Python. Code packages give us extra functionality to perform useful tasks in Python like loading data and making graphs.

The pandas package will help us import our Excel data with it's read_excel() function, but first, we have to import the pandas package.

Also note: lines of code that start with a hash (#) are called comments. Instructions will be displayed in the comments for your convenience.

Latihan ini adalah bagian dari kursus

Python for Spreadsheet Users

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Import the pandas package
____ pandas
Edit dan Jalankan Kode