This is my dataframe.
Student Studendid Student Studendid Student Studendid
0 Stud1 1 0 Stud1 ah274as 0 Stud1 1
1 Stud2 2 1 Stud2 ah474as 1 Stud2 2
2 Stud3 3 2 Stud3 ah454as 2 Stud3 3
3 Stud4 4 hash 3 Stud4 48sdfds hash 3 Stud4 4
4 Stud5 5 -> 4 Stud5 dash241 -> 4 Stud5 5
5 Stud6 6 5 Stud6 asda212 5 Stud6 6
6 Stud7 7 6 Stud7 askdkj2 6 Stud7 7
7 Stud8 8 7 Sud8 kadhh23 7 Stud8 8
8 Stud9 9 8 Stud9 asdhb27 8 Stud9 9
Based on the students, I would like to hash the student ID.
I've already tried the hash()
function. Unfortunately, I haven't found anything how to hash it back.
I would like to hash and then hash back again.
What method is there to hash the Studend and to hash it back?
df[Studendid] = df["Student"].hash()