ray.data.Dataset.input_files#
- Dataset.input_files() List[str] [source]#
Return the list of input files for the dataset.
Note
This operation will trigger execution of the lazy transformations performed on this dataset.
Examples
>>> import ray >>> ds = ray.data.read_csv("s3://anonymous@ray-example-data/iris.csv") >>> ds.input_files() ['ray-example-data/iris.csv']
- Returns:
The list of input files used to create the dataset, or an empty list if the input files is not known.