I'm trying to read a csv file with dask read_csv. At the moment it fails with the following error:
FileNotFoundError: [WinError 3] The system cannot find the path specified: xxx.csv
It seems dask changes the path that I pass as a parameter. Here's what I do:
import dask.dataframe as dd
path= os.path.join('x/y/z', 'xxx.csv')
dd.read_csv(path, usecols=cols)
Instead of reading the file in x/y/z/xxx.csv, it tries to find the file in network/workarea/x/y/z/xxx.csv. If I check my working directory, it appears as follows: network/workarea. Whatever I change my working directory to, the path just just gets appended to the working directory.
Interestingly reading the file using the path above with pandas works.
Any help would be appreciated. Thank you.
os.path.join), which is a bad idea.