DataFrame.
dtypes
Returns all column names and their data types as a list.
Examples
>>> df.dtypes [('age', 'int'), ('name', 'string')]
previous
pyspark.sql.DataFrame.dropna
next
pyspark.sql.DataFrame.exceptAll