MCPcopy Index your code
hub / github.com/numpy/numpy / partition

Method partition

numpy/_core/defchararray.py:991–999  ·  view source on GitHub ↗

Partition each element in `self` around `sep`. See Also -------- partition

(self, sep)

Source from the content-addressed store, hash-verified

989 return lstrip(self, chars)
990
991 def partition(self, sep):
992 """
993 Partition each element in `self` around `sep`.
994
995 See Also
996 --------
997 partition
998 """
999 return asarray(partition(self, sep))
1000
1001 def replace(self, old, new, count=None):
1002 """

Callers 15

fillFormatMethod · 0.45
partitionFunction · 0.45
test_partitionMethod · 0.45
test_partitionMethod · 0.45
test_partitionMethod · 0.45
test_partitionMethod · 0.45
test_partitionMethod · 0.45
test_partition_cdtypeMethod · 0.45

Calls 2

asarrayFunction · 0.70
partitionFunction · 0.70

Tested by 14

test_partitionMethod · 0.36
test_partitionMethod · 0.36
test_partitionMethod · 0.36
test_partitionMethod · 0.36
test_partitionMethod · 0.36
test_partition_cdtypeMethod · 0.36
test_partition_fuzzMethod · 0.36
test_partition_intFunction · 0.36