Which library choice fits a 300 MB dataset used for quick exploration on a laptop with no GPU?
- Exam domain
- Data Manipulation and Software Literacy19% of the exam
- Difficulty
- Medium
- In this mock
- 10 questions on this domainPractise this domain
Why the exam asks this
Data Manipulation and Software Literacy (19% of the exam)
Objective in the exam guide: Determining the optimal data processing library to use for varying dataset sizes
Choosing libraries by dataset size is named.
Why C is the answer
pandas
Small data on a CPU machine is best handled by pandas. Distributed or GPU frameworks add setup and overhead without benefit here.
Remember: Small data on CPU: pandas.
How it works
Library choice depends on dataset size, hardware and workload.
In detail
- Match the library to size and hardware.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A distributed graph databaseWrong
It is not graph data.
B. A multi-node Spark cluster with the RAPIDS Accelerator, set up for the exploration sessionWrongMost tempting
A cluster is overkill.
Why it tempts: Accelerated tools sound always better.
C. pandasRight
Small data on CPU: pandas.
D. Multi-GPU Dask-cuDFWrong
No GPU is available.
Use case
An illustrative scenario, not a real incident.
Illustrative: the analyst explores the 300 MB extract in pandas, then moves the full 400 GB job to Dask-cuDF.
See it in different ways
flowchart TD
Q{"Where does the data fit?"}
Q -->|"CPU memory, small"| A0["pandas"]
Q -->|"One GPU"| A1["cuDF"]
Q -->|"Several GPUs or nodes"| A2["Dask-cuDF"]
Q -->|"Large cluster"| A3["Spark with RAPIDS Accelerator"]How to read this chart
- At "Where does the data fit?": if "CPU memory, small", go to "pandas"; if "One GPU", go to "cuDF"; if "Several GPUs or nodes", go to "Dask-cuDF"; if "Large cluster", go to "Spark with RAPIDS Accelerator".
mindmap
root(("Data libraries"))
n1["CPU small"]
n2["pandas"]
n3["GPU"]
n4["cuDF"]
n5["Multi-GPU"]
n6["Dask-cuDF"]
n7["Cluster"]
n8["Spark"]How to read this chart
- The centre is "Data libraries".
- "CPU small" covers "pandas".
- "GPU" covers "cuDF".
- "Multi-GPU" covers "Dask-cuDF".
- "Cluster" covers "Spark".