单项选择题

在使用spark.read.csv 创建DataFrame 时,如果文件的第一行为字段名,可以设置哪个参数?()

A.inferSchema
B.header
C.format
D.encoding