0
I run this code by Jupyter and it runs normally, but when I try to run this same code in Visual Studio Code it gives the following error: "File b'Salaries.csv' does not exist" says that the file does not exist, but there is yes.
import pandas as pd
import numpy as np
df = pd.read_csv('Salaries.csv', sep=',', decimal='.')
print(df)
Exists, but is in the same folder as the Python script?
– Woss
yes, so I’m not understanding, because in Jupyter the script runs normally and in Visual Studio there is no identification of the file.
– Couzer
They are in exactly the same directory.
– Couzer
Can make a [mcve] in Repl.it reproducing the problem?
– Woss
I edited and put a photo with all the problem itself in the IDE
– Couzer
Couzer, tried to pass the complete directory to make a test?
– Clayton Tosatti
yes and says the same thing
– Couzer
Ahh forgot to mention that it identifies read_html, but read_csv does not
– Couzer
The problem was in the file itself, do not ask me what, because I do not know, but I tried a new list with the same file format and it worked, thank you for trying to help.
– Couzer