@@ -3834,7 +3834,7 @@ def luf(lamdaexpr, *args, **kwargs):
3834
3834
3835
3835
add_newdoc ('numpy.core.multiarray' , 'copyto' ,
3836
3836
"""
3837
- copyto(dst, src, casting='same_kind', where=None, preservena=False )
3837
+ copyto(dst, src, casting='same_kind', where=None)
3838
3838
3839
3839
Copies values from one array to another, broadcasting as necessary.
3840
3840
@@ -3862,9 +3862,6 @@ def luf(lamdaexpr, *args, **kwargs):
3862
3862
A boolean array which is broadcasted to match the dimensions
3863
3863
of `dst`, and selects elements to copy from `src` to `dst`
3864
3864
wherever it contains the value True.
3865
- preservena : bool, optional
3866
- If set to True, leaves any NA values in `dst` untouched. This
3867
- is similar to the "hard mask" feature in numpy.ma.
3868
3865
3869
3866
""" )
3870
3867
@@ -3879,11 +3876,6 @@ def luf(lamdaexpr, *args, **kwargs):
3879
3876
If `values` is not the same size as `a` and `mask` then it will repeat.
3880
3877
This gives behavior different from ``a[mask] = values``.
3881
3878
3882
- .. note:: The `putmask` functionality is also provided by `copyto`, which
3883
- can be significantly faster and in addition is NA-aware
3884
- (`preservena` keyword). Replacing `putmask` with
3885
- ``np.copyto(a, values, where=mask)`` is recommended.
3886
-
3887
3879
Parameters
3888
3880
----------
3889
3881
a : array_like
0 commit comments