Loading...

Stream-Process a Large CSV

A hard Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
hard
Seniority
senior, staff

Problem

Write a function that reads a CSV file and sums all values in a given column. The file could be several gigabytes, so you can't load it all into memory. Handle missing or non-numeric values gracefully.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.