Get first 3 rows of pandas DataFrame

Use the head() function to get the first 3 rows of the companies dataset and assign them to a variable named head.
Python
Setting up Python environment...
Output