PySpark: Filter out all lines, which have more columns than header line

后端 未结 0 860
深忆病人
深忆病人 2021-01-27 22:23
df = spark.read.csv(\'input.csv\', header=True, inferSchema=True)

Let\'s say that \'input.csv\' file contains following data:

id, name, a         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题