Why is Parquet usually preferred over CSV for large analytical datasets on GPUs?
- Exam domain
- Data Manipulation and Preparation23% of the exam
- Difficulty
- Easy
- In this mock
- 11 questions on this domainPractise this domain
Why the exam asks this
Data Manipulation and Preparation (23% of the exam)
Objective in the exam guide: Efficient processing and storage with Parquet and modern frameworks
Efficient storage with Parquet is named.
Why B is the answer
Parquet is columnar and compressed, so reads are faster and smaller
Parquet stores data by column with compression and types, so reading only the needed columns is fast. cuDF reads Parquet directly on the GPU.
Remember: Use Parquet for large analytical data.
How it works
Parquet is a columnar, compressed format that suits analytical reads and GPU loading.
In detail
- Columnar and compressed.
- Typed schema.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Parquet removes the need for a schemaWrong
Parquet keeps a schema.
B. Parquet is columnar and compressed, so reads are faster and smallerRight
Use Parquet for large analytical data.
C. Parquet files can be opened and edited in any plain text editor, which helps quick fixesWrongMost tempting
Parquet is binary, not text.
Why it tempts: Text editing feels convenient.
D. CSV cannot store numbersWrong
CSV stores numbers as text.
Use case
An illustrative scenario, not a real incident.
Illustrative: converting 80 GB of CSV to Parquet cuts it to 15 GB and load time by 90%.
See it in different ways
flowchart TD
Q{"Large analytical reads?"}
Q -->|"Yes"| A0["Parquet"]
Q -->|"Small, human-edited"| A1["CSV"]How to read this chart
- At "Large analytical reads?": if "Yes", go to "Parquet"; if "Small, human-edited", go to "CSV".
mindmap
root(("Parquet"))
n1["Layout"]
n2["Columnar"]
n3["Size"]
n4["Compression"]
n5["Types"]
n6["Schema"]How to read this chart
- The centre is "Parquet".
- "Layout" covers "Columnar".
- "Size" covers "Compression".
- "Types" covers "Schema".
Related questions
Learn more
- Our lesson: Data manipulation and preparation with cuDF
- Practise Data Manipulation and Preparation questions in the mock exam
- Source: Apache Parquet documentation
- Source: cuDF documentation (RAPIDS)
- cuDF documentation (RAPIDS)
- pandas documentation
- Apache Parquet documentation
- Over-sampling (imbalanced-learn)