title: PySpark: Add new column based on a column with UUID in a dataframe
body: <p>:)</p>
  
  <p>I'm working on a huge dataset (dataframe) which I want to show publicly, for which I want to <em>anonymize the data</em>, so instead of having the users' <code>UUID</code>, I want to use like a new column with string like: </p>
  
  <blockquote>
    <p>user1, user2, user3,</p>
  </blockquote>
  
  <p>obviously corresponding to the <code>ID</code> in the other column.</p>
  
  <p>I cannot use them when/otherwise, as I have more than a thousand different <code>uuids</code> in the <code>df</code>.</p>
  
  <p>So the end result should look something like this:</p>
  
  <p><code>| UUID | User |
   |uuid1 |user1 |
   |uuid1 |user1 |
   |uuid2 |user2 |
   |uuid3 |user3 |</code></p>
  
  <p>I try to write a function that increments the number in the user "name" every time the <code>uuid</code> changed, but if you have any other simple ideas, please, let me know! :) </p>