w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
Edit
In Place Editing Advanced Editing
  • References
  • Python
  • NumPy
  • Array objects

Masked arrays

Masked arrays are arrays that may have missing or invalid entries. The numpy.ma module provides a nearly work-alike replacement for numpy that supports data arrays with masks.

  • The numpy.ma module
    • Rationale
    • What is a masked array?
    • The numpy.ma module
  • Using numpy.ma
    • Constructing masked arrays
    • Accessing the data
    • Accessing the mask
    • Accessing only the valid entries
    • Modifying the mask
    • Indexing and slicing
    • Operations on masked arrays
  • Examples
    • Data with a given value representing missing data
    • Filling in the missing data
    • Numerical operations
    • Ignoring extreme values
  • Constants of the numpy.ma module
  • The MaskedArray class
    • Attributes and properties of masked arrays
  • MaskedArray methods
    • Conversion
    • Shape manipulation
    • Item selection and manipulation
    • Pickling and copy
    • Calculations
    • Arithmetic and comparison operations
    • Representation
    • Special methods
    • Specific methods
  • Masked array operations
    • Constants
    • Creation
    • Inspecting the array
    • Manipulating a MaskedArray
    • Operations on masks
    • Conversion operations
    • Masked arrays arithmetics
Links:
  • https://docs.scipy.org/doc/numpy-1.11.0/reference/maskedarray.html
doc_NumPy
doc_NumPy
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.

Popular Articles
masked_array.mask masked_array.mask Mask
std::mask_array::mask_array mask_array( const mask_array& other ); mask_array() = delete; Constructs a mask_array from another mask_array other. The default co
std::mask_array Defined in header <valarray> template< class T > class mask_array; std::gslice_array is a helper template used by std::mas
Masked array operations Constants ma.MaskType alias of bool_ Creation From existing data ma.masked_array alias of MaskedArray ma.array(data[, dtype, copy, order, mas
std::mask_array::operators void operator+=( const std::valarray<T>& other ); void operator-=( const std::valarray<T>& other ); void operator*=(


Return to View
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions