>>> df = session.create_dataframe(
... [["many-many-words", "-"], ["hello--hello", "--"]],
... schema=["V", "D"],
... ).select(split(col("V"), col("D")))
>>> df.show()
-------------------------
|"SPLIT(""V"", ""D"")" |
-------------------------
|[ |
| "many", |
| "many", |
| "words" |
|] |
|[ |
| "hello", |
| "hello" |
|] |
-------------------------