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

Method rjust

numpy/core/defchararray.py:2548–2558  ·  view source on GitHub ↗

Return an array with the elements of `self` right-justified in a string of length `width`. See Also -------- char.rjust

(self, width, fillchar=' ')

Source from the content-addressed store, hash-verified

2546 return rindex(self, sub, start, end)
2547
2548 def rjust(self, width, fillchar=' '):
2549 """
2550 Return an array with the elements of `self`
2551 right-justified in a string of length `width`.
2552
2553 See Also
2554 --------
2555 char.rjust
2556
2557 """
2558 return asarray(rjust(self, width, fillchar))
2559
2560 def rpartition(self, sep):
2561 """

Callers 2

__init__Method · 0.80
test_rjustMethod · 0.80

Calls 2

rjustFunction · 0.85
asarrayFunction · 0.70

Tested by 1

test_rjustMethod · 0.64