numpy.char.expandtabs(a, tabsize=8)
Return a copy of each string element where all tab characters are replaced by one or more spaces.
Calls str.expandtabs
element-wise.
Return a copy of each string element where all tab characters are replaced by one or more spaces, depending on the current column and the given tabsize
. The column number is reset to zero after each newline occurring in the string. This doesn’t understand other non-printing characters or escape sequences.
Parameters: |
|
---|---|
Returns: |
|
See also
© 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
https://docs.scipy.org/doc/numpy-1.17.0/reference/generated/numpy.char.expandtabs.html