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

snowflake.snowpark.DataFrameReader.json

DataFrameReader.json(path: str) DataFrame[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/dataframe_reader.py#L466-L478)

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

Parameters:

path – The stage location of a JSON file, or a stage location that has JSON files.

Returns:

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

Language: English