Method: Polars::StringNameSpace#split

Defined in:
lib/polars/string_name_space.rb

#split(by, inclusive: false) ⇒ Series

Split the string by a substring.

Parameters:

  • by (String)

    Substring to split by.

  • inclusive (Boolean) (defaults to: false)

    If true, include the split character/string in the results.

Returns:



645
646
647
# File 'lib/polars/string_name_space.rb', line 645

def split(by, inclusive: false)
  super
end