You are viewing documentation about an older version (1.40.0). View latest version

snowflake.snowpark.DataFrameReader.load

DataFrameReader.load(path: Optional[str] = None) DataFrame[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.40.0/src/snowflake/snowpark/dataframe_reader.py#L733-L775)

Specify the path of the file(s) to load.

Parameters:

path – The stage location of a file, or a stage location that has files. This parameter is required for all formats except dbapi.

Returns:

a DataFrame that is set up to load data from the specified file(s) in a Snowflake stage.