DataDriven
LearnPracticeInterviewDiscussDaily

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

Domain
Python
Difficulty
hard
Seniority
L5

Problem

Given a CSV file path and column name, stream the file line-by-line (do not load all into memory) and return the sum of numeric values in that column. Skip rows whose column value is missing or not numeric. Return a float. ('check_manually' signals the grader to run functional validation.)

Summary

Too big to load. Read what you can.

Practice This Problem

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

Related

  • All Practice Problems
  • Mock Interview Mode
  • Python Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons