Stems from this post, but I have found a little issue with the solution.
Using df = df.replace({True: 'TRUE', False: 'FALSE'}), if a value is 1 or 0 it will be replaced. I only want to replace values that are actually True or False of <class 'bool'>.
How can I do this?