Would like to replace every character with another specific character in panda df['column'] or create a new column with new output. Replace all K with B, 1 to 4, 2 to 3, 3 to 8.
Original column values:
0 K123D
1 K312E
2 K231G
Output:
0 B438D
1 B843E
2 B384G