Pandas DataFrame property: dtypes

DataFrame - dtypes property

The dtypes property is used to find the dtypes in the DataFrame.

This returns a Series with the data type of each column. The result’s index is the original DataFrame’s columns. Columns with mixed types are stored with the object dtype.



Returns: pandas.Series
The data type of each column.


Download the Pandas DataFrame Notebooks from here.

Previous: Dataframe Home
Next: DataFrame - select_dtypes() function

Follow us on Facebook and Twitter for latest update.