'Get the frontend type (numba type) of a field given the position
or the fieldname
Args
pos: int or str
field index or field name'

def get_type(self, pos):

    if isinstance(pos, str):
        pos = self.get_field_position(pos)
    return self._members[pos]
