- class pyarrow.fs.FileSelector¶
File and directory selector.
It contains a set of options that describes how to search for files and directories.
base_dir (str) – The directory in which to select files. Relative paths also work, use ‘.’ for the current directory and ‘..’ for the parent.
allow_not_found (bool, default False) – The behavior if base_dir doesn’t exist in the filesystem. If false, an error is returned. If true, an empty selection is returned.
recursive (bool, default False) – Whether to recurse into subdirectories.
- __init__(*args, **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.