CommencerCommencer gratuitement

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.

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.

# Import the pandas package
____ pandas
Modifier et exécuter le code