title: Pyspark Removing null values from a column in dataframe
body: <p>My Dataframe looks like below</p>
  
  <pre><code>ID,FirstName,LastName
  
  1,Navee,Srikanth
  
  2,,Srikanth 
  
  3,Naveen,
  </code></pre>
  
  <p>Now My Problem statement is I have to remove the row number 2 since First Name is null.</p>
  
  <p>I am using below pyspark script</p>
  
  <pre><code>join_Df1= Name.filter(Name.col(FirstName).isnotnull()).show()
  </code></pre>
  
  <p>I am getting error as </p>
  
  <pre><code>  File "D:\0\NameValidation.py", line 13, in &lt;module&gt;
  join_Df1= filter(Name.FirstName.isnotnull()).show()
  </code></pre>
  
  <blockquote>
    <p>TypeError: 'Column' object is not callable</p>
  </blockquote>
  
  <p>Can anyone please help me on this to resolve</p>