File size: 272 Bytes
9fe9d3e
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import pandas as pd

# Replace 'path_to_file.csv' with the actual path to your CSV file
csv_file_path = 'panda_sample_data.csv'

# Read the CSV file into a DataFrame
df = pd.read_csv(csv_file_path)

# Display the first few rows of the DataFrame
print(df.head())
print(df)