It seems that dtype only work for pandas.DataFrame.Series, right? Is there a function to display data types of all columns at once?
Suppose df is a pandas DataFrame then to get number of non-null values and data types of all column at once use:
df.info()