human
get data type columns.
assistant
Here is a Python program to get data type columns

import pandas as pd

def get_data_type(df):
    """
    Returns the data type of each column in the dataframe.
    :param df: dataframe
    :return:
    """
    return df.dtypes

# Enter the dataframe
df = pd.DataFrame({'col1': [1, 2, 3], 'col2': ['a', 'b', 'c']})

# Calling the function
print((get_data_type(df)))

#Example Output
# col1     int64
# col2    object
# dtype: object

#Remember to inspect code for bugs.