[NumPy-Tickets] [NumPy] #1584: Contradictory info in MaskedArray documentation

NumPy Trac numpy-tickets@scipy....
Tue Aug 17 14:47:27 CDT 2010


#1584: Contradictory info in MaskedArray documentation
---------------------------------------------+------------------------------
 Reporter:  obernardo                        |       Owner:  pierregm
     Type:  defect                           |      Status:  new     
 Priority:  normal                           |   Milestone:  2.0.0   
Component:  numpy.ma                         |     Version:          
 Keywords:  masked array documentation typo  |  
---------------------------------------------+------------------------------
 >>> help(np.ma.MaskedArray)

 returns a page informing that in MaskedArray constructor, copy = True and
 then says that the default value is False:

  Construction::
  |
  |    x = MaskedArray(data, mask=nomask, dtype=None, copy=True,
  |                    fill_value=None, keep_mask=True, hard_mask=False,
  |                    shrink=True)
  |
  |  Parameters
  |  ----------

   ...

  |  copy : bool, optional
  |      Whether to copy the input data (True), or to use a reference
 instead.
  |      Default is False.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1584>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list