Of course I wouldn't.
a) I wouldn't be able to make the journey in
b) I don't want to have to use the loos at work if I had diarrhoea
c) I don't want to pass it on to anyone else
I'm a bit
that you even have to ask this question.
So what if it leaves a colleague on their own. If you went in and passed it on then both of you would be poorly.
Stealth I wouldn't thank anyone at work for coming in with diarrhoea. It is a rather selfish thing to do.