This lesson requires a premium membership to access.
Premium membership includes unlimited access to all courses, quizzes, downloadable resources, and future content updates.
When you first load your data, it's important to perform initial checks to understand its structure, content, and the type of data it contains.
Here's how you can take a peek at your DataFrame:
1# Display the first five rows of the stocks DataFrame
2print(stocks_df.head())
3
4# Display the last five rows of the sDataFrame
5print(stocks_df.tail())
6