Contents:
Cast a field to the specified dtype.
name (str) – The field name to cast.
dtype (str, type, or numpy.dtype) – The dtype to cast to.
A new vector with the updated attribute table.
Vector