From bb34344242097b95db2be2e938c0ce14db225db3 Mon Sep 17 00:00:00 2001 From: Bas van Beek Date: Sun, 25 Apr 2021 14:17:42 +0200 Subject: ENH: Add improved placeholder annotations for `np.lib` --- numpy/lib/arraysetops.pyi | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 numpy/lib/arraysetops.pyi (limited to 'numpy/lib/arraysetops.pyi') 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=...): ... -- cgit v1.2.1