<div dir="ltr">Hi all,<div><br></div><div>I have recently been trying out various functions in masked array module of numpy. I have got confused at a places in the <b>core.py </b>of <b>ma </b>module.</div><div><br></div><div>1. In the <b>masked_equal </b>method, the docstring doesn't suggest that the <i>fill_value </i>gets updated by the <i>value </i>parameter of the function, but this line (<a href="https://github.com/numpy/numpy/blob/master/numpy/ma/core.py#L1978">https://github.com/numpy/numpy/blob/master/numpy/ma/core.py#L1978</a> ) sets the <i>fill_value</i> as <i>value. </i></div><div><i><br></i></div><div>2. The outputs of following functions - <b>any </b>(<a href="https://github.com/numpy/numpy/blob/master/numpy/ma/core.py#L4327">https://github.com/numpy/numpy/blob/master/numpy/ma/core.py#L4327</a>) - <b>all</b> (<a href="https://github.com/numpy/numpy/blob/master/numpy/ma/core.py#L4280">https://github.com/numpy/numpy/blob/master/numpy/ma/core.py#L4280</a>)</div><div>are similar, they return <i>np.ma.masked </i>if all the elements have masks in the array, else return <i>True</i>.</div><div><br></div><div>3.  _<span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre"><b>MaskedBinaryOperation : </b>Used for multiply, add, subtract</span></div><div><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.7999992370605px;white-space:pre"><br></span></div></div>