pyarrow.HadoopFileSystem.delete

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

Delete the indicated file or directory.

Parameters
  • path (str) – Path to delete.

  • recursive (bool, default False) – If True, also delete child paths for directories.