🏠ModelingBachAPI referenceSeriesastypeOn this pagebach.Series.astypeastype(dtype)[source]Convert this Series to another type.A Series will be returned with the correct type set, if the conversion is available. An appropriate Exception will be raised if impossible to convert. :param dtype: dtype or a dtype alias