过滤出空的值 :
by_car_score_id.filter("type is not null")
by_car_score_id.filter("type is null")
下面的方法试了可是不行:
df.where(df.col
("type").isNull())
df.where(df.col
("type").isNotNull())
df.filter(df.col("type").isNotNull())
df.filter(df.col
("type").isNull())