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

snowflake.snowpark.DataFrameReader.format

DataFrameReader.format(format: Literal['csv', 'json', 'avro', 'parquet', 'orc', 'xml']) DataFrameReader[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.29.0/snowpark-python/src/snowflake/snowpark/dataframe_reader.py#L541-L553)

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.

语言: 中文