CodexBloom - AI-Powered Q&A Platform

Inconsistent results when using np.where on masked arrays in NumPy 1.24.0

👀 Views: 1 💬 Answers: 1 📅 Created: 2025-06-10
numpy masked-array np.where

I'm facing an issue with using `np.where` on masked arrays. I have a masked array created with `np.ma.masked_array`, and I want to replace the masked values wit...