[NumPy-Tickets] [NumPy] #1577: numpy.polyfit ignores masks

NumPy Trac numpy-tickets@scipy....
Fri Mar 25 04:35:47 CDT 2011

#1577: numpy.polyfit ignores masks
  Reporter:  gdmcbain  |       Owner:  pierregm      
      Type:  defect    |      Status:  closed        
  Priority:  low       |   Milestone:  2.0.0         
 Component:  numpy.ma  |     Version:  1.3.0         
Resolution:  invalid   |    Keywords:  polyfit masked
Changes (by rgommers):

  * status:  new => closed
  * resolution:  => invalid


 np.polyfit doesn't know about masked arrays so it will just ignore the
 mask. So your results are expected. Since ma.polyfit works correctly,
 closing this as invalid.

Ticket URL: <http://projects.scipy.org/numpy/ticket/1577#comment:4>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list