This is one dirty, quick way to do it:

https://databricks-prod-cloudfront.cloud.databricks.com/public/4027ec902e239c93eaaa8714f173bcfc/8599738367597028/321083416305398/3601578643761083/latest.html

Cheers 
Jules 

Sent from my iPhone
Pardon the dumb thumb typos :)

> On Jun 30, 2018, at 7:46 AM, dimitris plakas <dimitrisp...@gmail.com> wrote:
> 
> I am new to Pyspark and want to initialize a new empty dataframe with 
> sqlContext() with two columns ("Column1", "Column2"), and i want to append 
> rows dynamically in a for loop. 
> Is there any way to achieve this?
> 
> Thank you in advance.

Reply via email to