Minimal reproduceable example:
This code:
file_path = r"\\myserver\e\somedir\mycsv.csv"
my_df = dd.read_csv(file_path, dtype="str")
Results in:
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'myserver/e/somedir/mycsv.csv'
However:
os.path.isfile(file_path)
returns True
This has me stumped. I'm pretty sure it has to do with file_path being a UNC path and it including "\server_name" at the beginning, but maybe I am wrong. According to the Dask/pandas documentation, this should work fine.