snowflake.snowpark.DataFrameReader.json

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

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