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

Method ljust

numpy/_core/defchararray.py:955–965  ·  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

953 return join(self, seq)
954
955 def ljust(self, width, fillchar=' '):
956 """
957 Return an array with the elements of `self` left-justified in a
958 string of length `width`.
959
960 See Also
961 --------
962 char.ljust
963
964 """
965 return asarray(ljust(self, width, fillchar))
966
967 def lower(self):
968 """

Callers 7

get_strMethod · 0.80
test_ljustMethod · 0.80
test_ljustMethod · 0.80
test_ljustMethod · 0.80
test_ljustMethod · 0.80

Calls 2

ljustFunction · 0.85
asarrayFunction · 0.70

Tested by 6

test_ljustMethod · 0.64
test_ljustMethod · 0.64
test_ljustMethod · 0.64
test_ljustMethod · 0.64