MCPcopy Create free account
hub / github.com/numpy/numpy / mr_class

Class mr_class

numpy/ma/extras.py:1637–1656  ·  view source on GitHub ↗

Translate slice objects to concatenation along the first axis. This is the masked array version of `lib.index_tricks.RClass`. See Also -------- lib.index_tricks.RClass Examples -------- >>> np.ma.mr_[np.ma.array([1,2,3]), 0, 0, np.ma.array([4,5,6])] masked_arr

Source from the content-addressed store, hash-verified

1635
1636
1637class mr_class(MAxisConcatenator):
1638 """
1639 Translate slice objects to concatenation along the first axis.
1640
1641 This is the masked array version of `lib.index_tricks.RClass`.
1642
1643 See Also
1644 --------
1645 lib.index_tricks.RClass
1646
1647 Examples
1648 --------
1649 >>> np.ma.mr_[np.ma.array([1,2,3]), 0, 0, np.ma.array([4,5,6])]
1650 masked_array(data=[1, 2, 3, ..., 4, 5, 6],
1651 mask=False,
1652 fill_value=999999)
1653
1654 """
1655 def __init__(self):
1656 MAxisConcatenator.__init__(self, 0)
1657
1658mr_ = mr_class()
1659

Callers 1

extras.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected