Another common error: scalars cannot be converted with ``.astype``.