pyspark.pandas.Series.dtypes

property Series.dtypes

Return the dtype object of the underlying data.

>>> s = ps.Series(list('abc'))
>>> s.dtype == s.dtypes
True