Problem 1: Load and Inspect a CSV File
Easypython
Problem Description
Write a Python program that loads a given CSV file into a DataFrame and prints its shape, first 5 rows, and column data types.
Input
A CSV file path.
Output
The dataset's shape, first 5 rows, and data type information.
Constraints
- Assume the CSV file has a proper header row.
Example Input
text"students.csv"
Example Output
textShape: (100, 5) (first 5 rows displayed) (data type info displayed)
Concepts Covered
pd.read_csv(), shape, head(), info().