I would like to pseudonymize my data frame. I have a name and a student ID. I would like to pseudonymize the name so that it is not recognizable. I found the gocept.pseudonymize library. The library I found does just that. Only I would like to enter the pseudonymize value and then I should receive my string.
  Student  Studendid          Student    Studendid     Student  Studendid   
0   Stud1    1              0   ah274as   1        0   Stud1    1
1   Stud2    2              1   ah474as   2        1   Stud2    2  
2   Stud3    3              2   ah454as   3        2   Stud3    3  
3   Stud4    4              3   48sdfds   4        3   Stud4    4  
4   Stud5    5       ->     4   dash241   5    ->  4   Stud5    5 
5   Stud6    6              5   asda212   6        5   Stud6    6
6   Stud7    7              6   askdkj2   7        6   Stud7    7  
7   Stud8    8              7   kadhh23   8        7   Stud8    8  
8   Stud9    9              8   asdhb27   9        8   Stud9    9 
Do you know a library that can do that? Or a method?
import gocept.pseudonymize
gocept.pseudonymize.text('Here is my little text', 'secret')
[OUT] 'u7YJWz RqdYkfNUFgZii2Y'
# What I want
gocept.pseudonymize.getString('u7YJWz RqdYkfNUFgZii2Y')
[OUT] 'Here is my little text'
