I'm using pyspark and imported a hive table into a dataframe.
df = sqlContext.sql("from hive_table select *")
I need help on converting this df to numpy array. You may assume hive_table has only one column.
Can you please suggest? Thank you in advance.