You are viewing an older version (2.4.3).Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy 2.4.3 / numpy / ma / extras / mr_class

class

numpy.ma.extras:mr_class

source: /numpy/ma/extras.py:1768

Signature

class mr_class()

Members

Summary

Translate slice objects to concatenation along the first axis.

Extended Summary

This is the masked array version of r_.

Examples

import numpy as np
np.ma.mr_[np.ma.array([1,2,3]), 0, 0, np.ma.array([4,5,6])]
✓
masked_array(data=[1, 2, 3, 0, 0, 4, 5, 6],
             mask=False,
       fill_value=999999)

See also

r_

Aliases

  • numpy.ma.extras.mr_class