SciPy

This is documentation for an old release of NumPy (version 1.9.3). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.chararray.expandtabs

chararray.expandtabs(tabsize=8)[source]

Return a copy of each string element where all tab characters are replaced by one or more spaces.

See also

char.expandtabs