DEVASC Exam QuestionsBrowse all questions from this exam

DEVASC Exam - Question 537


DRAG DROP

-

Drag and drop the Python data transformation methods from the left onto the data formats on the right.

Show Answer
Correct Answer:

Discussion

3 comments
Sign in to comment
st1a
Sep 4, 2024

JSON: Lists become Lists. Objects convert to Dictionaries. YAML: Arrays convert to Lists. Objects become Dictionaries.

Muhamedko358
Sep 24, 2024

JSON: Arrays convert to Lists. Objects become Dictionaries. YAML: Lists become Lists. Objects convert to Dictionaries.

daniii89
Feb 6, 2025

JSON Lists become Lists because JSON directly represents Python lists as arrays Objects convert to Dictionaries because JSON stores Python dictionaries as objects YAML Arrays convert to Lists because YAML transforms arrays into a list structure which Python interprets as a list Objects become Dictionaries because YAML stores objects in a key-value structure which Python interprets as a dictionary