Re: pyspark Dataframe and histogram through ggplot (python)

2016-01-05 Thread Felix Cheung
Hi, select() returns a new Spark DataFrame; I would imagine ggplot would not work with it. Could you try df.select("something").toPandas()? _ From: Snehotosh Banerjee Sent: Tuesday, January 5, 2016 4:32 AM Subject: pyspark Dataframe and histogram thro

pyspark Dataframe and histogram through ggplot (python)

2016-01-05 Thread Snehotosh Banerjee
Hi, I am facing issue in rendering charts through ggplot while working on pyspark Dataframe on a dummy dataset. I have created a Spark Dataframe and trying to draw a histogram through ggplot in python. [image: Inline image 1] [image: Inline image 2] I have a valid schema as below.But, below com