Series.str.concat
Joins two or more strings/arrays
danfo.Series.str.concat(other, position, options) [source]
Parameters | Type | Description | Default |
---|---|---|---|
other | string or Array | string or list of strings to add to each string element of the series | "" |
position | Int | The position to add the other (string or array) is either 0 or 1. 0 is to add the other at the beginning of each of the string element, and 1 is to add to the end of the string element | 1 |
options | Object | inplace: Whether to perform the operation in-place or not. | { inplace: false } |
Returns: Series (String element)
Examples
Add the strings from an Array to the start of each of the String element in Series
Add the strings from an Array to the end of each of the String element in Series
Add a string to the start of each string element in a Series
Add a string to the end of each string element in a series
Last updated