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

Method ljust

numpy/core/defchararray.py:2465–2475  ·  view source on GitHub ↗

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

(self, width, fillchar=' ')

Source from the content-addressed store, hash-verified

2463 return join(self, seq)
2464
2465 def ljust(self, width, fillchar=' '):
2466 """
2467 Return an array with the elements of `self` left-justified in a
2468 string of length `width`.
2469
2470 See Also
2471 --------
2472 char.ljust
2473
2474 """
2475 return asarray(ljust(self, width, fillchar))
2476
2477 def lower(self):
2478 """

Callers 1

test_ljustMethod · 0.80

Calls 2

ljustFunction · 0.85
asarrayFunction · 0.70

Tested by 1

test_ljustMethod · 0.64