Issue
I'm trying to run the following code in VS Code:
import pandas as pd
df = pd.read_csv('data.csv')
This didn't happen before.
The other solutions I saw didn't seem to work.
This same problem happens with virtually any package I import. A few of them are:
I tried this solution, but it didn't work.
Solution
Resetting VS Code by deleting all the content in settings.json
and replacing it with a simple {}
helped me.
Answered By - kammy
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.