# Program 6: Read a CSV file saved in your system and display 10 rows
# penguins.csv is the Palmer Penguins dataset used in the Statistical
# Data unit. Keep it in the same folder as this program.

import pandas as pd

# Show every column instead of "..." in the middle of wide tables.
pd.set_option("display.max_columns", None)
pd.set_option("display.width", 120)

data = pd.read_csv("penguins.csv")

print("The first 10 rows:")
print(data.head(10))
print()
print("The last 3 rows:")
print(data.tail(3))
