Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- from pathlib import Path
- # Use a raw string for the file path to avoid issues with backslashes. Assuming 'melb_data.csv' is directly in the directory now.
- csv_file_path = r'C:\Users\User\AppData\Local\Temp\5a187114-792b-49de-b9f9-04a87bdaa378_archive (1)\melb_data.csv'
- # Use pandas to read the CSV file directly
- melbourne_data = pd.read_csv(csv_file_path)
- # Print a summary of the data in Melbourne data
- print(melbourne_data.describe())
Advertisement
Add Comment
Please, Sign In to add comment