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.