When trying to navigate in Databricks to a specfic folder/file combination using os
, 2 identical csv's get randomly recognized as file
or directory
.
When checking with os.path.isfile()
, the following returns:
So far I tried re-loading the data, checking if there were any problems with the specific csv's and can't seem to find a pattern as to which file this error will occur with. I tried following advice listed here but the error seems Databricks-specifc.