Another example is pd.read_csv("data.csv").
This line uses the read_csv() function from the Pandas library to read a CSV file named "data.csv".
The function loads the data from the CSV file into a DataFrame (stored in the variable df), which is a two-dimensional data structure similar to a table. A DataFrame makes it easy to analyze and manipulate the data in Python. The .head() function is used to display the first 5 rows of the DataFrame (df).
By default, .head() shows the first 5 rows, but you can pass a number to show a different number of rows (e.g., df.head(10) would show the first 10 rows).
This function is helpful when you want to quickly inspect the contents of the dataset to ensure it was loaded correctly or to see a preview of the data.