core.pyi 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  1. # pyright: reportIncompatibleMethodOverride=false
  2. # ruff: noqa: ANN001, ANN002, ANN003, ANN201, ANN202 ANN204
  3. from typing import Any, SupportsIndex, TypeVar
  4. from _typeshed import Incomplete
  5. from typing_extensions import deprecated
  6. from numpy import _OrderKACF, amax, amin, bool_, dtype, expand_dims, float64, ndarray
  7. from numpy._typing import ArrayLike, _DTypeLikeBool
  8. __all__ = [
  9. "MAError",
  10. "MaskError",
  11. "MaskType",
  12. "MaskedArray",
  13. "abs",
  14. "absolute",
  15. "add",
  16. "all",
  17. "allclose",
  18. "allequal",
  19. "alltrue",
  20. "amax",
  21. "amin",
  22. "angle",
  23. "anom",
  24. "anomalies",
  25. "any",
  26. "append",
  27. "arange",
  28. "arccos",
  29. "arccosh",
  30. "arcsin",
  31. "arcsinh",
  32. "arctan",
  33. "arctan2",
  34. "arctanh",
  35. "argmax",
  36. "argmin",
  37. "argsort",
  38. "around",
  39. "array",
  40. "asanyarray",
  41. "asarray",
  42. "bitwise_and",
  43. "bitwise_or",
  44. "bitwise_xor",
  45. "bool_",
  46. "ceil",
  47. "choose",
  48. "clip",
  49. "common_fill_value",
  50. "compress",
  51. "compressed",
  52. "concatenate",
  53. "conjugate",
  54. "convolve",
  55. "copy",
  56. "correlate",
  57. "cos",
  58. "cosh",
  59. "count",
  60. "cumprod",
  61. "cumsum",
  62. "default_fill_value",
  63. "diag",
  64. "diagonal",
  65. "diff",
  66. "divide",
  67. "empty",
  68. "empty_like",
  69. "equal",
  70. "exp",
  71. "expand_dims",
  72. "fabs",
  73. "filled",
  74. "fix_invalid",
  75. "flatten_mask",
  76. "flatten_structured_array",
  77. "floor",
  78. "floor_divide",
  79. "fmod",
  80. "frombuffer",
  81. "fromflex",
  82. "fromfunction",
  83. "getdata",
  84. "getmask",
  85. "getmaskarray",
  86. "greater",
  87. "greater_equal",
  88. "harden_mask",
  89. "hypot",
  90. "identity",
  91. "ids",
  92. "indices",
  93. "inner",
  94. "innerproduct",
  95. "isMA",
  96. "isMaskedArray",
  97. "is_mask",
  98. "is_masked",
  99. "isarray",
  100. "left_shift",
  101. "less",
  102. "less_equal",
  103. "log",
  104. "log2",
  105. "log10",
  106. "logical_and",
  107. "logical_not",
  108. "logical_or",
  109. "logical_xor",
  110. "make_mask",
  111. "make_mask_descr",
  112. "make_mask_none",
  113. "mask_or",
  114. "masked",
  115. "masked_array",
  116. "masked_equal",
  117. "masked_greater",
  118. "masked_greater_equal",
  119. "masked_inside",
  120. "masked_invalid",
  121. "masked_less",
  122. "masked_less_equal",
  123. "masked_not_equal",
  124. "masked_object",
  125. "masked_outside",
  126. "masked_print_option",
  127. "masked_singleton",
  128. "masked_values",
  129. "masked_where",
  130. "max",
  131. "maximum",
  132. "maximum_fill_value",
  133. "mean",
  134. "min",
  135. "minimum",
  136. "minimum_fill_value",
  137. "mod",
  138. "multiply",
  139. "mvoid",
  140. "ndim",
  141. "negative",
  142. "nomask",
  143. "nonzero",
  144. "not_equal",
  145. "ones",
  146. "ones_like",
  147. "outer",
  148. "outerproduct",
  149. "power",
  150. "prod",
  151. "product",
  152. "ptp",
  153. "put",
  154. "putmask",
  155. "ravel",
  156. "remainder",
  157. "repeat",
  158. "reshape",
  159. "resize",
  160. "right_shift",
  161. "round",
  162. "round_",
  163. "set_fill_value",
  164. "shape",
  165. "sin",
  166. "sinh",
  167. "size",
  168. "soften_mask",
  169. "sometrue",
  170. "sort",
  171. "sqrt",
  172. "squeeze",
  173. "std",
  174. "subtract",
  175. "sum",
  176. "swapaxes",
  177. "take",
  178. "tan",
  179. "tanh",
  180. "trace",
  181. "transpose",
  182. "true_divide",
  183. "var",
  184. "where",
  185. "zeros",
  186. "zeros_like",
  187. ]
  188. _ShapeType_co = TypeVar("_ShapeType_co", bound=tuple[int, ...], covariant=True)
  189. _DType_co = TypeVar("_DType_co", bound=dtype[Any], covariant=True)
  190. MaskType = bool
  191. nomask: bool
  192. class MaskedArrayFutureWarning(FutureWarning): ...
  193. class MAError(Exception): ...
  194. class MaskError(MAError): ...
  195. def default_fill_value(obj): ...
  196. def minimum_fill_value(obj): ...
  197. def maximum_fill_value(obj): ...
  198. def set_fill_value(a, fill_value): ...
  199. def common_fill_value(a, b): ...
  200. def filled(a, fill_value=...): ...
  201. def getdata(a, subok=...): ...
  202. get_data = getdata
  203. def fix_invalid(a, mask=..., copy=..., fill_value=...): ...
  204. class _MaskedUFunc:
  205. f: Any
  206. __doc__: Any
  207. __name__: Any
  208. def __init__(self, ufunc): ...
  209. class _MaskedUnaryOperation(_MaskedUFunc):
  210. fill: Any
  211. domain: Any
  212. def __init__(self, mufunc, fill=..., domain=...): ...
  213. def __call__(self, a, *args, **kwargs): ...
  214. class _MaskedBinaryOperation(_MaskedUFunc):
  215. fillx: Any
  216. filly: Any
  217. def __init__(self, mbfunc, fillx=..., filly=...): ...
  218. def __call__(self, a, b, *args, **kwargs): ...
  219. def reduce(self, target, axis=..., dtype=...): ...
  220. def outer(self, a, b): ...
  221. def accumulate(self, target, axis=...): ...
  222. class _DomainedBinaryOperation(_MaskedUFunc):
  223. domain: Any
  224. fillx: Any
  225. filly: Any
  226. def __init__(self, dbfunc, domain, fillx=..., filly=...): ...
  227. def __call__(self, a, b, *args, **kwargs): ...
  228. exp: _MaskedUnaryOperation
  229. conjugate: _MaskedUnaryOperation
  230. sin: _MaskedUnaryOperation
  231. cos: _MaskedUnaryOperation
  232. arctan: _MaskedUnaryOperation
  233. arcsinh: _MaskedUnaryOperation
  234. sinh: _MaskedUnaryOperation
  235. cosh: _MaskedUnaryOperation
  236. tanh: _MaskedUnaryOperation
  237. abs: _MaskedUnaryOperation
  238. absolute: _MaskedUnaryOperation
  239. angle: _MaskedUnaryOperation
  240. fabs: _MaskedUnaryOperation
  241. negative: _MaskedUnaryOperation
  242. floor: _MaskedUnaryOperation
  243. ceil: _MaskedUnaryOperation
  244. around: _MaskedUnaryOperation
  245. logical_not: _MaskedUnaryOperation
  246. sqrt: _MaskedUnaryOperation
  247. log: _MaskedUnaryOperation
  248. log2: _MaskedUnaryOperation
  249. log10: _MaskedUnaryOperation
  250. tan: _MaskedUnaryOperation
  251. arcsin: _MaskedUnaryOperation
  252. arccos: _MaskedUnaryOperation
  253. arccosh: _MaskedUnaryOperation
  254. arctanh: _MaskedUnaryOperation
  255. add: _MaskedBinaryOperation
  256. subtract: _MaskedBinaryOperation
  257. multiply: _MaskedBinaryOperation
  258. arctan2: _MaskedBinaryOperation
  259. equal: _MaskedBinaryOperation
  260. not_equal: _MaskedBinaryOperation
  261. less_equal: _MaskedBinaryOperation
  262. greater_equal: _MaskedBinaryOperation
  263. less: _MaskedBinaryOperation
  264. greater: _MaskedBinaryOperation
  265. logical_and: _MaskedBinaryOperation
  266. def alltrue(target: ArrayLike, axis: SupportsIndex | None = 0, dtype: _DTypeLikeBool | None = None) -> Incomplete: ...
  267. logical_or: _MaskedBinaryOperation
  268. def sometrue(target: ArrayLike, axis: SupportsIndex | None = 0, dtype: _DTypeLikeBool | None = None) -> Incomplete: ...
  269. logical_xor: _MaskedBinaryOperation
  270. bitwise_and: _MaskedBinaryOperation
  271. bitwise_or: _MaskedBinaryOperation
  272. bitwise_xor: _MaskedBinaryOperation
  273. hypot: _MaskedBinaryOperation
  274. divide: _DomainedBinaryOperation
  275. true_divide: _DomainedBinaryOperation
  276. floor_divide: _DomainedBinaryOperation
  277. remainder: _DomainedBinaryOperation
  278. fmod: _DomainedBinaryOperation
  279. mod: _DomainedBinaryOperation
  280. def make_mask_descr(ndtype): ...
  281. def getmask(a): ...
  282. get_mask = getmask
  283. def getmaskarray(arr): ...
  284. def is_mask(m): ...
  285. def make_mask(m, copy=..., shrink=..., dtype=...): ...
  286. def make_mask_none(newshape, dtype=...): ...
  287. def mask_or(m1, m2, copy=..., shrink=...): ...
  288. def flatten_mask(mask): ...
  289. def masked_where(condition, a, copy=...): ...
  290. def masked_greater(x, value, copy=...): ...
  291. def masked_greater_equal(x, value, copy=...): ...
  292. def masked_less(x, value, copy=...): ...
  293. def masked_less_equal(x, value, copy=...): ...
  294. def masked_not_equal(x, value, copy=...): ...
  295. def masked_equal(x, value, copy=...): ...
  296. def masked_inside(x, v1, v2, copy=...): ...
  297. def masked_outside(x, v1, v2, copy=...): ...
  298. def masked_object(x, value, copy=..., shrink=...): ...
  299. def masked_values(x, value, rtol=..., atol=..., copy=..., shrink=...): ...
  300. def masked_invalid(a, copy=...): ...
  301. class _MaskedPrintOption:
  302. def __init__(self, display): ...
  303. def display(self): ...
  304. def set_display(self, s): ...
  305. def enabled(self): ...
  306. def enable(self, shrink=...): ...
  307. masked_print_option: _MaskedPrintOption
  308. def flatten_structured_array(a): ...
  309. class MaskedIterator:
  310. ma: Any
  311. dataiter: Any
  312. maskiter: Any
  313. def __init__(self, ma): ...
  314. def __iter__(self): ...
  315. def __getitem__(self, indx): ...
  316. def __setitem__(self, index, value): ...
  317. def __next__(self): ...
  318. class MaskedArray(ndarray[_ShapeType_co, _DType_co]):
  319. __array_priority__: Any
  320. def __new__(cls, data=..., mask=..., dtype=..., copy=..., subok=..., ndmin=..., fill_value=..., keep_mask=..., hard_mask=..., shrink=..., order=...): ...
  321. def __array_finalize__(self, obj): ...
  322. def __array_wrap__(self, obj, context=..., return_scalar=...): ...
  323. def view(self, dtype=..., type=..., fill_value=...): ...
  324. def __getitem__(self, indx): ...
  325. def __setitem__(self, indx, value): ...
  326. @property
  327. def dtype(self): ...
  328. @dtype.setter
  329. def dtype(self, dtype): ...
  330. @property
  331. def shape(self): ...
  332. @shape.setter
  333. def shape(self, shape): ...
  334. def __setmask__(self, mask, copy=...): ...
  335. @property
  336. def mask(self): ...
  337. @mask.setter
  338. def mask(self, value): ...
  339. @property
  340. def recordmask(self): ...
  341. @recordmask.setter
  342. def recordmask(self, mask): ...
  343. def harden_mask(self): ...
  344. def soften_mask(self): ...
  345. @property
  346. def hardmask(self): ...
  347. def unshare_mask(self): ...
  348. @property
  349. def sharedmask(self): ...
  350. def shrink_mask(self): ...
  351. @property
  352. def baseclass(self): ...
  353. data: Any
  354. @property
  355. def flat(self): ...
  356. @flat.setter
  357. def flat(self, value): ...
  358. @property
  359. def fill_value(self): ...
  360. @fill_value.setter
  361. def fill_value(self, value=...): ...
  362. get_fill_value: Any
  363. set_fill_value: Any
  364. def filled(self, fill_value=...): ...
  365. def compressed(self): ...
  366. def compress(self, condition, axis=..., out=...): ...
  367. def __eq__(self, other): ...
  368. def __ne__(self, other): ...
  369. def __ge__(self, other): ...
  370. def __gt__(self, other): ...
  371. def __le__(self, other): ...
  372. def __lt__(self, other): ...
  373. def __add__(self, other): ...
  374. def __radd__(self, other): ...
  375. def __sub__(self, other): ...
  376. def __rsub__(self, other): ...
  377. def __mul__(self, other): ...
  378. def __rmul__(self, other): ...
  379. def __div__(self, other): ...
  380. def __truediv__(self, other): ...
  381. def __rtruediv__(self, other): ...
  382. def __floordiv__(self, other): ...
  383. def __rfloordiv__(self, other): ...
  384. def __pow__(self, other): ...
  385. def __rpow__(self, other): ...
  386. def __iadd__(self, other): ...
  387. def __isub__(self, other): ...
  388. def __imul__(self, other): ...
  389. def __idiv__(self, other): ...
  390. def __ifloordiv__(self, other): ...
  391. def __itruediv__(self, other): ...
  392. def __ipow__(self, other): ...
  393. def __float__(self): ...
  394. def __int__(self): ...
  395. @property # type: ignore[misc]
  396. def imag(self): ...
  397. get_imag: Any
  398. @property # type: ignore[misc]
  399. def real(self): ...
  400. get_real: Any
  401. def count(self, axis=..., keepdims=...): ...
  402. def ravel(self, order=...): ...
  403. def reshape(self, *s, **kwargs): ...
  404. def resize(self, newshape, refcheck=..., order=...): ...
  405. def put(self, indices, values, mode=...): ...
  406. def ids(self): ...
  407. def iscontiguous(self): ...
  408. def all(self, axis=..., out=..., keepdims=...): ...
  409. def any(self, axis=..., out=..., keepdims=...): ...
  410. def nonzero(self): ...
  411. def trace(self, offset=..., axis1=..., axis2=..., dtype=..., out=...): ...
  412. def dot(self, b, out=..., strict=...): ...
  413. def sum(self, axis=..., dtype=..., out=..., keepdims=...): ...
  414. def cumsum(self, axis=..., dtype=..., out=...): ...
  415. def prod(self, axis=..., dtype=..., out=..., keepdims=...): ...
  416. product: Any
  417. def cumprod(self, axis=..., dtype=..., out=...): ...
  418. def mean(self, axis=..., dtype=..., out=..., keepdims=...): ...
  419. def anom(self, axis=..., dtype=...): ...
  420. def var(self, axis=..., dtype=..., out=..., ddof=..., keepdims=...): ...
  421. def std(self, axis=..., dtype=..., out=..., ddof=..., keepdims=...): ...
  422. def round(self, decimals=..., out=...): ...
  423. def argsort(self, axis=..., kind=..., order=..., endwith=..., fill_value=..., *, stable=...): ...
  424. def argmin(self, axis=..., fill_value=..., out=..., *, keepdims=...): ...
  425. def argmax(self, axis=..., fill_value=..., out=..., *, keepdims=...): ...
  426. def sort(self, axis=..., kind=..., order=..., endwith=..., fill_value=..., *, stable=...): ...
  427. def min(self, axis=..., out=..., fill_value=..., keepdims=...): ...
  428. # NOTE: deprecated
  429. # def tostring(self, fill_value=..., order=...): ...
  430. def max(self, axis=..., out=..., fill_value=..., keepdims=...): ...
  431. def ptp(self, axis=..., out=..., fill_value=..., keepdims=...): ...
  432. def partition(self, *args, **kwargs): ...
  433. def argpartition(self, *args, **kwargs): ...
  434. def take(self, indices, axis=..., out=..., mode=...): ...
  435. copy: Any
  436. diagonal: Any
  437. flatten: Any
  438. repeat: Any
  439. squeeze: Any
  440. swapaxes: Any
  441. T: Any
  442. transpose: Any
  443. @property # type: ignore[misc]
  444. def mT(self): ...
  445. #
  446. def toflex(self) -> Incomplete: ...
  447. def torecords(self) -> Incomplete: ...
  448. def tolist(self, fill_value: Incomplete | None = None) -> Incomplete: ...
  449. @deprecated("tostring() is deprecated. Use tobytes() instead.")
  450. def tostring(self, /, fill_value: Incomplete | None = None, order: _OrderKACF = "C") -> bytes: ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
  451. def tobytes(self, /, fill_value: Incomplete | None = None, order: _OrderKACF = "C") -> bytes: ... # type: ignore[override] # pyright: ignore[reportIncompatibleMethodOverride]
  452. def tofile(self, /, fid: Incomplete, sep: str = "", format: str = "%s") -> Incomplete: ...
  453. #
  454. def __reduce__(self): ...
  455. def __deepcopy__(self, memo=...): ...
  456. class mvoid(MaskedArray[_ShapeType_co, _DType_co]):
  457. def __new__(
  458. self, # pyright: ignore[reportSelfClsParameterName]
  459. data,
  460. mask=...,
  461. dtype=...,
  462. fill_value=...,
  463. hardmask=...,
  464. copy=...,
  465. subok=...,
  466. ): ...
  467. def __getitem__(self, indx): ...
  468. def __setitem__(self, indx, value): ...
  469. def __iter__(self): ...
  470. def __len__(self): ...
  471. def filled(self, fill_value=...): ...
  472. def tolist(self): ...
  473. def isMaskedArray(x): ...
  474. isarray = isMaskedArray
  475. isMA = isMaskedArray
  476. # 0D float64 array
  477. class MaskedConstant(MaskedArray[Any, dtype[float64]]):
  478. def __new__(cls): ...
  479. __class__: Any
  480. def __array_finalize__(self, obj): ...
  481. def __array_wrap__(self, obj, context=..., return_scalar=...): ...
  482. def __format__(self, format_spec): ...
  483. def __reduce__(self): ...
  484. def __iop__(self, other): ...
  485. __iadd__: Any
  486. __isub__: Any
  487. __imul__: Any
  488. __ifloordiv__: Any
  489. __itruediv__: Any
  490. __ipow__: Any
  491. def copy(self, *args, **kwargs): ...
  492. def __copy__(self): ...
  493. def __deepcopy__(self, memo): ...
  494. def __setattr__(self, attr, value): ...
  495. masked: MaskedConstant
  496. masked_singleton: MaskedConstant
  497. masked_array = MaskedArray
  498. def array(
  499. data,
  500. dtype=...,
  501. copy=...,
  502. order=...,
  503. mask=...,
  504. fill_value=...,
  505. keep_mask=...,
  506. hard_mask=...,
  507. shrink=...,
  508. subok=...,
  509. ndmin=...,
  510. ): ...
  511. def is_masked(x): ...
  512. class _extrema_operation(_MaskedUFunc):
  513. compare: Any
  514. fill_value_func: Any
  515. def __init__(self, ufunc, compare, fill_value): ...
  516. # NOTE: in practice `b` has a default value, but users should
  517. # explicitly provide a value here as the default is deprecated
  518. def __call__(self, a, b): ...
  519. def reduce(self, target, axis=...): ...
  520. def outer(self, a, b): ...
  521. def min(obj, axis=..., out=..., fill_value=..., keepdims=...): ...
  522. def max(obj, axis=..., out=..., fill_value=..., keepdims=...): ...
  523. def ptp(obj, axis=..., out=..., fill_value=..., keepdims=...): ...
  524. class _frommethod:
  525. __name__: Any
  526. __doc__: Any
  527. reversed: Any
  528. def __init__(self, methodname, reversed=...): ...
  529. def getdoc(self): ...
  530. def __call__(self, a, *args, **params): ...
  531. all: _frommethod
  532. anomalies: _frommethod
  533. anom: _frommethod
  534. any: _frommethod
  535. compress: _frommethod
  536. cumprod: _frommethod
  537. cumsum: _frommethod
  538. copy: _frommethod
  539. diagonal: _frommethod
  540. harden_mask: _frommethod
  541. ids: _frommethod
  542. mean: _frommethod
  543. nonzero: _frommethod
  544. prod: _frommethod
  545. product: _frommethod
  546. ravel: _frommethod
  547. repeat: _frommethod
  548. soften_mask: _frommethod
  549. std: _frommethod
  550. sum: _frommethod
  551. swapaxes: _frommethod
  552. trace: _frommethod
  553. var: _frommethod
  554. count: _frommethod
  555. argmin: _frommethod
  556. argmax: _frommethod
  557. minimum: _extrema_operation
  558. maximum: _extrema_operation
  559. def take(a, indices, axis=..., out=..., mode=...): ...
  560. def power(a, b, third=...): ...
  561. def argsort(a, axis=..., kind=..., order=..., endwith=..., fill_value=..., *, stable=...): ...
  562. def sort(a, axis=..., kind=..., order=..., endwith=..., fill_value=..., *, stable=...): ...
  563. def compressed(x): ...
  564. def concatenate(arrays, axis=...): ...
  565. def diag(v, k=...): ...
  566. def left_shift(a, n): ...
  567. def right_shift(a, n): ...
  568. def put(a, indices, values, mode=...): ...
  569. def putmask(a, mask, values): ...
  570. def transpose(a, axes=...): ...
  571. def reshape(a, new_shape, order=...): ...
  572. def resize(x, new_shape): ...
  573. def ndim(obj): ...
  574. def shape(obj): ...
  575. def size(obj, axis=...): ...
  576. def diff(a, /, n=..., axis=..., prepend=..., append=...): ...
  577. def where(condition, x=..., y=...): ...
  578. def choose(indices, choices, out=..., mode=...): ...
  579. def round_(a, decimals=..., out=...): ...
  580. round = round_
  581. def inner(a, b): ...
  582. innerproduct = inner
  583. def outer(a, b): ...
  584. outerproduct = outer
  585. def correlate(a, v, mode=..., propagate_mask=...): ...
  586. def convolve(a, v, mode=..., propagate_mask=...): ...
  587. def allequal(a, b, fill_value=...): ...
  588. def allclose(a, b, masked_equal=..., rtol=..., atol=...): ...
  589. def asarray(a, dtype=..., order=...): ...
  590. def asanyarray(a, dtype=...): ...
  591. def fromflex(fxarray): ...
  592. class _convert2ma:
  593. def __init__(self, /, funcname: str, np_ret: str, np_ma_ret: str, params: dict[str, Any] | None = None) -> None: ...
  594. def __call__(self, /, *args: object, **params: object) -> Any: ... # noqa: ANN401
  595. def getdoc(self, /, np_ret: str, np_ma_ret: str) -> str | None: ...
  596. arange: _convert2ma
  597. clip: _convert2ma
  598. empty: _convert2ma
  599. empty_like: _convert2ma
  600. frombuffer: _convert2ma
  601. fromfunction: _convert2ma
  602. identity: _convert2ma
  603. indices: _convert2ma
  604. ones: _convert2ma
  605. ones_like: _convert2ma
  606. squeeze: _convert2ma
  607. zeros: _convert2ma
  608. zeros_like: _convert2ma
  609. def append(a, b, axis=...): ...
  610. def dot(a, b, strict=..., out=...): ...
  611. def mask_rowcols(a, axis=...): ...