FunctionRacerProblemsRace

Columns With Gaps

EasypandasPython

Some cells of df are missing (None). Return a list with the names of the columns that contain at least one missing cell, in the order the columns appear in the table.

Example 1

df {"a":[1,2],"b":[null,5],"c":["x",null]}
returns ["b","c"]

Columns b and c have a gap.

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More pandas problems