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 <snehotosh.baner...@gmail.com> Sent: Tuesday, January 5, 2016 4:32 AM Subject: pyspark Dataframe and histogram through ggplot (python) To: <user@spark.apache.org> 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. I have a valid schema as below.But, below command is not working ggplot(df_no_null, aes(df_no_null.select('total_price_excluding_optional_support'))) + geom_histogram() Appreciate input. Regards, Snehotosh