Columnwise type conversion