Missing Price Names
items has columns name and price, and some prices are missing (None). Return a list of the names of items with a missing price, in the order they appear.
Example 1
items {"name":["pen","ink","pad"],"price":[1.5,null,null]}
returns ["ink","pad"]
ink and pad have no price.
Constraints
- The result may be an empty list
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More pandas problems
- Names in CityBeginner
- Pick Two ColumnsBeginner
- Rename ColumnsBeginner
- Running Sales TotalBeginner
- Sorted Unique ValuesBeginner
- Swap the LabelsBeginner
- Table ShapeBeginner
- Top ScoresBeginner