QuestionQ8
VerifiedUsing Spark SQLA developer needs to create a Python dictionary from data stored in a small Parquet table, shown below:

The resulting Python dictionary must map region to region_id and include the three smallest region_id values.
Which code fragment meets these requirements?
Community Discussion