title: Remove duplicate tuples in an RDD in python?
body: <p>I have an RDD as list of pairs of tuples:- </p>
  
  <pre><code>[((1.1, 1.2), (0.1, 0.1)),
   ((1.1, 1.2), (0.4, 2.1)),
   ((0.1, 0.1), (1.1, 1.2)),
   ((9.0, 9.0), (9.1, 9.1)),
   ((0.4, 2.1), (1.1, 1.2)),
   ((9.1, 9.1), (9.0, 9.0))]
  </code></pre>
  
  <p>How can I remove the duplicate tuples from this RDD and get the required output as: </p>
  
  <pre><code>[((1.1, 1.2), (0.1, 0.1)),
   ((1.1, 1.2), (0.4, 2.1)),
   ((9.1, 9.1), (9.0, 9.0))]
  </code></pre>
  
  <p>I have already tried distinct() but not getting the required output.</p>