pyarrow.HadoopFileSystem.delete

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

Delete the indicated file or directory

Parameters:
  • path (string) –
  • recursive (boolean, default False) – If True, also delete child paths for directories