Skip to content

Tag Archives: Python Numpy-Masked Array

numpy.ma.asanyarray() function is used when we want to convert input to a masked array, conserving subclasses. If arr is a subclass of MaskedArray, its class… Read More
numpy.ma.asarray() function is used when we want to convert input to a masked array of the given data-type. No copy is performed if the input… Read More
numpy.MaskedArray.masked_outside() function is used to mask an array outside of a given interval. This function is a Shortcut to masked_where, where condition is True for… Read More