snowflake.snowpark.DataFrameReader.file¶
- DataFrameReader.file(path: str) DataFrame[source]¶
Returns a DataFrame with a single column
FILEcontaining a list of files in the specified Snowflake stage location (either internal or external).- Parameters:
path – The stage location to list files from (e.g., “@mystage”, “@mystage/path/”).
Example:
This function or method is experimental since 1.37.0.