[enter image description here][1]
my data frame is like this
EMPLOYEE_ID 2020-02-26 2020-02-27 2020-02-28 2020-02-29 2020-03-01
100000074 Absent Absent Absent Present Absent
100000086 No Match No Match Absent Present Absent
and want to be like
EMPLOYEE_ID Absent Present No Match
100000074 4 1 0
Plz help