title: What is the Use of monotonically_increasing_id in PySpark
body: <p>I am trying to understand the use of monotonically_increasing_id in Spark SQL. </p>
  
  <p>Can anyone explain with an example, why do we need to have monotonically increasing ids  in case of dataframes?</p>