Pandas DataFrame | dtypes property
Start your free 7-days trial now!
DataFrame.dtypes property returns the data type of the values stored in each column.
Pandas Series holding the data type of each column.
Consider the following DataFrame:
The data type of each column is as follows:
df.dtypesA float64B int64C datetime64[ns]D objectE objectdtype: object
Notice how strings and lists have
object as their data type.