Create a dataframe using a json
Create a dataframe using a json
Example: val df = dataframe("{a:1, b:true}", "{a:2, b:false}") | a | b | +---+-------+ | 1 | true | | 2 | false |
json's agruments, each argument represent one line of our dataframe
a dataframe
Create a dataframe using a json file
Create a dataframe using a json file
Example:
The path where the json is stored
The resulting DataFrame