Skip to content

Conversation

shahdadpuri92
Copy link

import pandas as pd

Load dataset

Using a raw string to avoid issues with backslashes

file_path = r"/Users/nishitashahdadpuri/Desktop/Introduction to AI 2025/Week 5/Life_Expectancy_Data.csv"

df = pd.read_csv(file_path)

Display the first few rows

df.head()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant