Skip to main content
Ctrl+K
NumPy v2.2 Manual - Home NumPy v2.2 Manual - Home
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
    • NEPs
  • GitHub
  • User Guide
  • API reference
  • Building from source
  • Development
  • Release notes
  • Learn
  • NEPs
  • GitHub

Section Navigation

  • NumPy’s module structure
  • Array objects
  • Universal functions (ufunc)
  • Routines and objects by topic
    • Constants
    • Array creation routines
    • Array manipulation routines
    • Bit-wise operations
    • String functionality
    • Datetime support functions
    • Data type routines
    • Mathematical functions with automatic domain
    • Floating point error handling
    • Exceptions and Warnings (numpy.exceptions)
    • Discrete Fourier Transform (numpy.fft)
    • Functional programming
    • Input and output
    • Indexing routines
    • Linear algebra (numpy.linalg)
    • Logic functions
    • Masked array operations
      • numpy.ma.MaskType
      • numpy.ma.masked_array
      • numpy.ma.array
      • numpy.ma.copy
      • numpy.ma.frombuffer
      • numpy.ma.fromfunction
      • numpy.ma.MaskedArray.copy
      • numpy.ma.diagflat
      • numpy.ma.empty
      • numpy.ma.empty_like
      • numpy.ma.masked_all
      • numpy.ma.masked_all_like
      • numpy.ma.ones
      • numpy.ma.ones_like
      • numpy.ma.zeros
      • numpy.ma.zeros_like
      • numpy.ma.all
      • numpy.ma.any
      • numpy.ma.count
      • numpy.ma.count_masked
      • numpy.ma.getmask
      • numpy.ma.getmaskarray
      • numpy.ma.getdata
      • numpy.ma.nonzero
      • numpy.ma.shape
      • numpy.ma.size
      • numpy.ma.is_masked
      • numpy.ma.is_mask
      • numpy.ma.isMaskedArray
      • numpy.ma.isMA
      • numpy.ma.isarray
      • numpy.ma.isin
      • numpy.ma.in1d
      • numpy.ma.unique
      • numpy.ma.MaskedArray.all
      • numpy.ma.MaskedArray.any
      • numpy.ma.MaskedArray.count
      • numpy.ma.MaskedArray.nonzero
      • numpy.ma.shape
      • numpy.ma.size
      • numpy.ma.ravel
      • numpy.ma.reshape
      • numpy.ma.resize
      • numpy.ma.MaskedArray.flatten
      • numpy.ma.MaskedArray.ravel
      • numpy.ma.MaskedArray.reshape
      • numpy.ma.MaskedArray.resize
      • numpy.ma.swapaxes
      • numpy.ma.transpose
      • numpy.ma.MaskedArray.swapaxes
      • numpy.ma.MaskedArray.transpose
      • numpy.ma.atleast_1d
      • numpy.ma.atleast_2d
      • numpy.ma.atleast_3d
      • numpy.ma.expand_dims
      • numpy.ma.squeeze
      • numpy.ma.MaskedArray.squeeze
      • numpy.ma.stack
      • numpy.ma.column_stack
      • numpy.ma.concatenate
      • numpy.ma.dstack
      • numpy.ma.hstack
      • numpy.ma.hsplit
      • numpy.ma.mr_
      • numpy.ma.vstack
      • numpy.ma.concatenate
      • numpy.ma.stack
      • numpy.ma.vstack
      • numpy.ma.hstack
      • numpy.ma.dstack
      • numpy.ma.column_stack
      • numpy.ma.append
      • numpy.ma.make_mask
      • numpy.ma.make_mask_none
      • numpy.ma.mask_or
      • numpy.ma.make_mask_descr
      • numpy.ma.getmask
      • numpy.ma.getmaskarray
      • numpy.ma.masked_array.mask
      • numpy.ma.ndenumerate
      • numpy.ma.flatnotmasked_contiguous
      • numpy.ma.flatnotmasked_edges
      • numpy.ma.notmasked_contiguous
      • numpy.ma.notmasked_edges
      • numpy.ma.clump_masked
      • numpy.ma.clump_unmasked
      • numpy.ma.mask_cols
      • numpy.ma.mask_or
      • numpy.ma.mask_rowcols
      • numpy.ma.mask_rows
      • numpy.ma.harden_mask
      • numpy.ma.soften_mask
      • numpy.ma.MaskedArray.harden_mask
      • numpy.ma.MaskedArray.soften_mask
      • numpy.ma.MaskedArray.shrink_mask
      • numpy.ma.MaskedArray.unshare_mask
      • numpy.ma.asarray
      • numpy.ma.asanyarray
      • numpy.ma.fix_invalid
      • numpy.ma.masked_equal
      • numpy.ma.masked_greater
      • numpy.ma.masked_greater_equal
      • numpy.ma.masked_inside
      • numpy.ma.masked_invalid
      • numpy.ma.masked_less
      • numpy.ma.masked_less_equal
      • numpy.ma.masked_not_equal
      • numpy.ma.masked_object
      • numpy.ma.masked_outside
      • numpy.ma.masked_values
      • numpy.ma.masked_where
      • numpy.ma.compress_cols
      • numpy.ma.compress_rowcols
      • numpy.ma.compress_rows
      • numpy.ma.compressed
      • numpy.ma.filled
      • numpy.ma.MaskedArray.compressed
      • numpy.ma.MaskedArray.filled
      • numpy.ma.MaskedArray.tofile
      • numpy.ma.MaskedArray.tolist
      • numpy.ma.MaskedArray.torecords
      • numpy.ma.MaskedArray.tobytes
      • numpy.ma.common_fill_value
      • numpy.ma.default_fill_value
      • numpy.ma.maximum_fill_value
      • numpy.ma.minimum_fill_value
      • numpy.ma.set_fill_value
      • numpy.ma.MaskedArray.get_fill_value
      • numpy.ma.MaskedArray.set_fill_value
      • numpy.ma.anom
      • numpy.ma.anomalies
      • numpy.ma.average
      • numpy.ma.conjugate
      • numpy.ma.corrcoef
      • numpy.ma.cov
      • numpy.ma.cumsum
      • numpy.ma.cumprod
      • numpy.ma.mean
      • numpy.ma.median
      • numpy.ma.power
      • numpy.ma.prod
      • numpy.ma.std
      • numpy.ma.sum
      • numpy.ma.var
      • numpy.ma.MaskedArray.anom
      • numpy.ma.MaskedArray.cumprod
      • numpy.ma.MaskedArray.cumsum
      • numpy.ma.MaskedArray.mean
      • numpy.ma.MaskedArray.prod
      • numpy.ma.MaskedArray.std
      • numpy.ma.MaskedArray.sum
      • numpy.ma.MaskedArray.var
      • numpy.ma.argmax
      • numpy.ma.argmin
      • numpy.ma.max
      • numpy.ma.min
      • numpy.ma.ptp
      • numpy.ma.diff
      • numpy.ma.MaskedArray.argmax
      • numpy.ma.MaskedArray.argmin
      • numpy.ma.MaskedArray.max
      • numpy.ma.MaskedArray.min
      • numpy.ma.MaskedArray.ptp
      • numpy.ma.argsort
      • numpy.ma.sort
      • numpy.ma.MaskedArray.argsort
      • numpy.ma.MaskedArray.sort
      • numpy.ma.diag
      • numpy.ma.dot
      • numpy.ma.identity
      • numpy.ma.inner
      • numpy.ma.innerproduct
      • numpy.ma.outer
      • numpy.ma.outerproduct
      • numpy.ma.trace
      • numpy.ma.transpose
      • numpy.ma.MaskedArray.trace
      • numpy.ma.MaskedArray.transpose
      • numpy.ma.vander
      • numpy.ma.polyfit
      • numpy.ma.around
      • numpy.ma.clip
      • numpy.ma.round
      • numpy.ma.MaskedArray.clip
      • numpy.ma.MaskedArray.round
      • numpy.ma.intersect1d
      • numpy.ma.setdiff1d
      • numpy.ma.setxor1d
      • numpy.ma.union1d
      • numpy.ma.allequal
      • numpy.ma.allclose
      • numpy.ma.amax
      • numpy.ma.amin
      • numpy.ma.apply_along_axis
      • numpy.ma.apply_over_axes
      • numpy.ma.arange
      • numpy.ma.choose
      • numpy.ma.compress_nd
      • numpy.ma.convolve
      • numpy.ma.correlate
      • numpy.ma.ediff1d
      • numpy.ma.flatten_mask
      • numpy.ma.flatten_structured_array
      • numpy.ma.fromflex
      • numpy.ma.indices
      • numpy.ma.left_shift
      • numpy.ma.ndim
      • numpy.ma.put
      • numpy.ma.putmask
      • numpy.ma.right_shift
      • numpy.ma.round_
      • numpy.ma.take
      • numpy.ma.where
    • Mathematical functions
    • Miscellaneous routines
    • Polynomials
    • Random sampling (numpy.random)
    • Set routines
    • Sorting, searching, and counting
    • Statistics
    • Test support (numpy.testing)
    • Window functions
  • Typing (numpy.typing)
  • Packaging (numpy.distutils)
  • NumPy C-API
  • Array API standard compatibility
  • CPU/SIMD optimizations
  • Thread Safety
  • Global Configuration Options
  • NumPy security
  • Status of numpy.distutils and migration advice
  • numpy.distutils user guide
  • NumPy and SWIG
  • NumPy reference
  • NumPy’s module structure
  • Masked array operations
  • numpy.ma.masked_array

numpy.ma.masked_array#

numpy.ma.masked_array[source]#

alias of MaskedArray

previous

numpy.ma.MaskType

next

numpy.ma.array

On this page
  • masked_array

© Copyright 2008-2024, NumPy Developers.

Created using Sphinx 7.2.6.

Built with the PyData Sphinx Theme 0.16.0.