DataFrame para listar Pyspark

# convert student ID to list using
# flatMap
print(dataframe.select('student ID').
      rdd.flatMap(lambda x: x).collect())
Joyous Jaguar