df = pd.read_csv("C:\\Users\\User\\Downloads\\weather.csv")or
df = pd.read_csv(r"C:\Users\User\Downloads\weather.csv")also Please, always post the entire traceback that you get. We need to see that whole thing. Do not just give us the last line.
Take a time to read What to include in a post
EDIT: I fixed the second one - it was meant to be raw string
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs