SciPy

numpy.core.defchararray.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