All pandas problems
EasySelection
Filter — Mumbai only
Show only the rows where city is Mumbai. Boolean masking is the workhorse of pandas — you use this every day.
- #boolean-mask
- #filter
Sample input
same sales CSV
Sample output
4 Mumbai rows
pd-filter-rows.pyneeds: pandas
Output
Press "Run code" to execute.
