title: TypeError: 'DataFrame' object is not callable - spark data frame
body: <p>i'm getting below error while executing the mentioned 'join' statement. i'm using pyspark setup. Any change required in the join statement or code.</p>
  
  <p><strong>TypeError: 'DataFrame' object is not callable</strong></p>
  
  <pre><code>df11 = spark.read.option("header","true").option("delimiter", ",").csv("s3://mybucket/file1.csv")
  df22 = spark.read.option("header","true").option("delimiter", ",").csv("s3://mybucket/file2.csv")
  df11.createOrReplaceTempView("table1")
  df22.createOrReplaceTempView("table2")
  df1 = spark.sql( "select * from table1" )
  df2 = spark.sql( "select * from table2" )
  
  df_d = df1.join(df2, df1.NO == df2.NO, 'left').filter(F.isnull(df2.NO)).select(df1.NO,df1.NAME,df1.LAT,df1.LONG, F.lit('DELETE').alias('FLAG'))
  </code></pre>
  
  <p>Thanks</p>