Question
A data analyst wants to save a newly analyzed data set to a local storage option. The data set must meet the following requirements:
- Be minimal in size
- Have the ability to be ingested quickly
- Have the associated schema, including data types, stored with it
Which of the following file types is the best to use?
- A. JSON
- B. Parquet Correct
- C. XML
- D. CSV
Explanation
Parquet is a compressed, columnar binary format, so files are small and fast to read, and it stores the schema, including data types, in the file metadata. JSON and XML are verbose text formats that do not enforce data types, and CSV is compact text but carries no schema or data types at all.