1Since Spark 1.4 you can use drop method:
2
3#Scala
4case class Point(x: Int, y: Int)
5val df = sqlContext.createDataFrame(Point(0, 0) :: Point(1, 2) :: Nil)
6df.drop("y")
7
8#Python
9df = sc.parallelize([(0, 0), (1, 2)]).toDF(["x", "y"])
10df.drop("y")
11## DataFrame[x: bigint]