CLN: Fix many indentation errors found in #6643.

Changes should only affect whitespace.

closes #6643

I think so -- otherwise won't the `else` always be taken if r_dtype=='u'? And the parallel `if c_dtype:` version has `elif:`.