Tag: .csv
python – How to solve this Pyspark Code Block using Regexp
I have this CSV file but when I am running my notebook regex shows some error from pyspark.sql.functions import regexp_replace path=”dbfs:/FileStore/df/test.csv” dff = spark.read.option(“header”, “true”).option(“inferSchema”, “true”).option(‘multiline’, ‘true’).option(‘encoding’, ‘UTF-8’).option(“delimiter”, “‡‡,‡‡”).csv(path) dff.show(truncate=False)…