Movatterモバイル変換


[0]ホーム

URL:


SciPy

Set routines

Making proper sets

unique(ar[, return_index, return_inverse, ...])Find the unique elements of an array.

Boolean operations

in1d(ar1, ar2[, assume_unique, invert])Test whether each element of a 1-D array is also present in a second array.
intersect1d(ar1, ar2[, assume_unique])Find the intersection of two arrays.
isin(element, test_elements[, ...])Calculateselement in test_elements, broadcasting overelement only.
setdiff1d(ar1, ar2[, assume_unique])Find the set difference of two arrays.
setxor1d(ar1, ar2[, assume_unique])Find the set exclusive-or of two arrays.
union1d(ar1, ar2)Find the union of two arrays.

Table Of Contents

Previous topic

numpy.random.set_state

Next topic

numpy.in1d

  • © Copyright 2008-2009, The Scipy community.
  • Last updated on Jun 10, 2017.
  • Created usingSphinx 1.5.3.

[8]ページ先頭

©2009-2025 Movatter.jp