polars.Series.dtype#

property Series.dtype: DataType[source]#

Get the data type of this Series.

Examples

>>> s = pl.Series("a", [1, 2, 3])
>>> s.dtype
Int64