pyarrow.HadoopFileSystem.delete

HadoopFileSystem.delete(path, recursive=False)[source]

Delete the indicated file or directory.

Parameters:
pathstr

Path to delete.

recursivebool, default False

If True, also delete child paths for directories.