I'm using Spark 1.3.1.
I am trying to view the values of a Spark dataframe column in Python. With a Spark dataframe, I can do
df.collect() to view the contents of the dataframe, but there is no such method for a Spark dataframe column as best as I can see.
For example, the dataframe
df contains a column named
'zip_code'. So I can do
df['zip_code'] and it turns a
pyspark.sql.dataframe.Column type, but I can't find a way to view the values in