MCPcopy Create free account
hub / github.com/numpy/numpy / partition

Method partition

numpy/core/defchararray.py:2501–2509  ·  view source on GitHub ↗

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

(self, sep)

Source from the content-addressed store, hash-verified

2499 return asarray(lstrip(self, chars))
2500
2501 def partition(self, sep):
2502 """
2503 Partition each element in `self` around `sep`.
2504
2505 See Also
2506 --------
2507 partition
2508 """
2509 return asarray(partition(self, sep))
2510
2511 def replace(self, old, new, count=None):
2512 """

Callers 12

set_sigFunction · 0.45
fillFormatMethod · 0.45
partitionFunction · 0.45
test_partitionMethod · 0.45
test_partitionMethod · 0.45
test_partition_cdtypeMethod · 0.45
test_partition_fuzzMethod · 0.45
test_empty_partitionMethod · 0.45

Calls 2

asarrayFunction · 0.70
partitionFunction · 0.70

Tested by 8

test_partitionMethod · 0.36
test_partitionMethod · 0.36
test_partition_cdtypeMethod · 0.36
test_partition_fuzzMethod · 0.36
test_empty_partitionMethod · 0.36