Here's my dataset, call them df
Id Name Math Physics Biology Chemistry
1 Andy A B A B
2 Bert Other C Other A
3 Candy Other Other A B
4 Dony B A C B
The expected value excludes 'Other'
, first expected value is called as 'Grade'
:
Id Name Math Physics Biology Chemistry Grade
1 Andy A B A B A
2 Bert Other C Other A C
3 Candy Other Other A B A
4 Dony B A C B B