Series.str.split
Split string around a given separator/delimiter. The array of strings are then converted to a string.
Last updated
Split string around a given separator/delimiter. The array of strings are then converted to a string.
Last updated
danfo.Series.str.split(splitVal, options)
Parameters | Type | Description | Default |
---|---|---|---|
Examples
Split the string value in the Series by space and obtain the Series values
OUTPUT: [ 'king,of,the,music', 'the,lamba,queen', 'I,love,the,hat' ]
splitVal
String
separator or delimiter used to split the string
" "
options
Object
inplace: Whether to perform operation in-place or not.
{ inplace: false }