Only recast if datetime; use astype instead of view