kl / panda_sample_csv.py
yeeaee's picture
Upload 3 files
9fe9d3e verified
raw
history blame contribute delete
272 Bytes
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)