0
Follow
5
View

How to split the text in a pyspark column using a delimiter?

a20084242 注册会员
2022-12-06 15:10

the split function uses regular expression and | is a reserved symbol in regex. you should use split("price", "\|") to get what you need.

About the Author

Question Info

Publish Time
2022-12-06 15:10
Update Time
2022-12-06 15:10