title: Get value of a particular cell in Spark Dataframe
body: <p>I have a Spark dataframe which has 1 row and 3 columns, namely start_date, end_date, end_month_id.<br>
  I want to retrieve the value from first cell into a variable and use that variable to filter another dataframe.
  <a href="https://i.stack.imgur.com/1DSgU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1DSgU.png" alt="enter image description here"></a></p>
  
  <p>I want to retrieve '2019-01-01' into a variable. How do I do that?<br>
  Here is what I have so far:</p>
  
  <pre><code>start_date = df1[0];
  df2.filter(df2.date_reported &gt;= start_date)
  </code></pre>
  
  <p>I am a noob so please go easy</p>