diff options
author | Bas van Beek <b.f.van.beek@vu.nl> | 2021-04-25 14:17:42 +0200 |
---|---|---|
committer | Bas van Beek <b.f.van.beek@vu.nl> | 2021-04-26 16:41:04 +0200 |
commit | bb34344242097b95db2be2e938c0ce14db225db3 (patch) | |
tree | 66924ba276a0d8e3613c75c1dcde29936a6fa79f /numpy/lib/arraysetops.pyi | |
parent | 775d243be65f36564580ed5fcf038f384c61ce4d (diff) | |
download | numpy-bb34344242097b95db2be2e938c0ce14db225db3.tar.gz |
ENH: Add improved placeholder annotations for `np.lib`
Diffstat (limited to 'numpy/lib/arraysetops.pyi')
-rw-r--r-- | numpy/lib/arraysetops.pyi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/numpy/lib/arraysetops.pyi b/numpy/lib/arraysetops.pyi new file mode 100644 index 000000000..029aa1474 --- /dev/null +++ b/numpy/lib/arraysetops.pyi @@ -0,0 +1,12 @@ +from typing import List + +__all__: List[str] + +def ediff1d(ary, to_end=..., to_begin=...): ... +def unique(ar, return_index=..., return_inverse=..., return_counts=..., axis=...): ... +def intersect1d(ar1, ar2, assume_unique=..., return_indices=...): ... +def setxor1d(ar1, ar2, assume_unique=...): ... +def in1d(ar1, ar2, assume_unique=..., invert=...): ... +def isin(element, test_elements, assume_unique=..., invert=...): ... +def union1d(ar1, ar2): ... +def setdiff1d(ar1, ar2, assume_unique=...): ... |