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

snowflake.snowpark.DataFrameReader.format

DataFrameReader.format(format: Literal['csv', 'json', 'avro', 'parquet', 'orc', 'xml']) DataFrameReader[source]

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

Parameters:

format – The format of the file(s) to load. Supported formats are csv, json, avro, parquet, orc, and xml.

Returns:

a DataFrameReader instance that is set up to load data from the specified file format in a Snowflake stage.