Shortcut to MaskedArray. The options are in a different order for convenience and backwards compatibility.
(data, dtype=None, copy=False, order=None,
mask=nomask, fill_value=None, keep_mask=True,
hard_mask=False, shrink=True, subok=True, ndmin=0)
| 6857 | |
| 6858 | |
| 6859 | def array(data, dtype=None, copy=False, order=None, |
| 6860 | mask=nomask, fill_value=None, keep_mask=True, |
| 6861 | hard_mask=False, shrink=True, subok=True, ndmin=0): |
| 6862 | """ |
| 6863 | Shortcut to MaskedArray. |
| 6864 | |
| 6865 | The options are in a different order for convenience and backwards |
| 6866 | compatibility. |
| 6867 | |
| 6868 | """ |
| 6869 | return MaskedArray(data, mask=mask, dtype=dtype, copy=copy, |
| 6870 | subok=subok, keep_mask=keep_mask, |
| 6871 | hard_mask=hard_mask, fill_value=fill_value, |
| 6872 | ndmin=ndmin, shrink=shrink, order=order) |
| 6873 | |
| 6874 | |
| 6875 | array.__doc__ = masked_array.__doc__ |
searching dependent graphs…