Skip to content
Python ETLHardofficialBenchmark eligiblepro

Stream a large CSV

pandas.read_csv() of the whole file is killed. Stream or chunk. Aggregates in the hidden tests must still match.

FieldDetail
CreatorPipelineArena · expert
Version2.0.0
Time55 min
Credits6
Completion0% · 0.0 rating
Hidden tests3

Objective

Complete under the RSS cap; aggregates match; no full-frame read.

#Success condition
1Peak RSS under the hidden cap
2Group aggregates match
3No single DataFrame of the full file
#Visible instruction
1Stream or read in chunks.
2Write batches to Postgres.
3Do not raise the container memory limit.
Hidden tests score the final tables or files, not the exact syntax you used. Test implementation is never shown to participants.

Signed-in workspace: Open in app