CommencerCommencer gratuitement

Peek at top and bottom

Analyzing historical price data is an important way to try to make future predictions. We will be using a dataset of stock data for the company Alphabet. This data includes opening, closing, high, and low prices per day. It is loaded into the DataFrame alphabet. Now it's your time to take a peak!

Cet exercice fait partie du cours

Intermediate Python for Finance

Afficher le cours

Exercice interactif pratique

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

# Peak at top five rows
alphabet.____()
Modifier et exécuter le code