Pyspark Select без столбца
df = sc.parallelize([(0, 0), (1, 2)]).toDF(["x", "y"])
df.drop("y")
Plif Plouf
df = sc.parallelize([(0, 0), (1, 2)]).toDF(["x", "y"])
df.drop("y")