99999999999999999991

helpplz

Mar 6th, 2024
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.46 KB | None | 0 0
  1. import pandas as pd
  2. from pathlib import Path
  3.  
  4. # Use a raw string for the file path to avoid issues with backslashes. Assuming 'melb_data.csv' is directly in the directory now.
  5. csv_file_path = r'C:\Users\User\AppData\Local\Temp\5a187114-792b-49de-b9f9-04a87bdaa378_archive (1)\melb_data.csv'
  6.  
  7. # Use pandas to read the CSV file directly
  8. melbourne_data = pd.read_csv(csv_file_path)
  9.  
  10. # Print a summary of the data in Melbourne data
  11. print(melbourne_data.describe())
  12.  
  13.  
Advertisement
Add Comment
Please, Sign In to add comment