I am using azure databricks for the first time to read some files and trying to use python with dbutils.fs.ls("/mnt")
But I get an error saying that dbutils doesn't have fs module. I was reading and say that all databricks come with dbutils already.
AttributeError: module 'dbutils' has no attribute 'fs'
if i do
print(dir(dbutils))
['Console', 'DBUtils', 'FileInfo', 'Iterable', 'ListConverter', 'MapConverter', 'MountInfo', 'NotebookExit', 'Py4JJavaError', 'SecretMetadata', 'SecretScope', 'WidgetsHandlerImpl', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'spec', 'absolute_import', 'makeTensorboardManager', 'namedtuple', 'print_function', 'range', 'stderr', 'stdout', 'string_types', 'sys', 'zip']
i found that it suppose to have the library already install https://docs.databricks.com/user-guide/dev-tools/dbutils.html#dbutils
Is there a magic trick? I wanted to check if I have a file is mounted if not mount it and unmount it.
