I have dataframe that looks like:
Tester Type Subject Type Time 1 2 3
TType1 SType1 Day 1 11 2 1
TType1 SType2 Day 1 3 2 13
TType1 SType1 Day 2 2 3 15
TType2 SType3 Day 2 1 4 3
TType3 SType3 Day 2 2 3 4
TType1 SType1 Day 1 7 2 2
TType2 SType1 Day 2 2 6 7
I'm trying to find all SType 1 in Subject Type column and replace it with Values in Tester Type. So, my output would look like:
Tester Type Subject Type Time 1 2 3
TType1 TType1 Day 1 11 2 1
TType1 SType2 Day 1 3 2 13
TType1 TType1 Day 2 2 3 15
TType2 SType3 Day 2 1 4 3
TType3 SType3 Day 2 2 3 4
TType1 TType1 Day 1 7 2 2
TType2 TType2 Day 2 2 6 7