Aan de slagGa gratis aan de slag

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!

Deze oefening maakt deel uit van de cursus

Intermediate Python for Finance

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Peak at top five rows
alphabet.____()
Code bewerken en uitvoeren