Data Science & Analytics
Filtering and Replacing with Masks and np.where
Real questions rarely have a single condition: which products are cheap and well rated, or which deliveries were late or missing? You’ll combine masks with &, |, and ~, keep whole rows, count matches per row or column, and use np.where to replace or compute values without losing the rest of your data.
Numpy
Python
4 lessons
13 practices
Less than 1 hour
Data Cleaning and Preprocessing

Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal





