pyspark - read csv with custom row delimiter

how can I read a csv file with custom row delimiter (\x03) using pyspark? I tried the following code but it did not work.

df = spark.read.option("lineSep","\x03").csv(path)
display(df)


from Recent Questions - Stack Overflow https://ift.tt/3jRYqzT
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept