Fixes for 2.6 test failures, replacing astype(str) with apply(str)