Human: What is a good Python function to stackoverflow dtype of a column. Assistant: 
Here is a Python function to stackoverflow dtype of a column

import pandas as pd

def get_column_type(column):
    """
    Get the dtype of a column.
    """
    if column.dtype == 'object':
        return 'object'
    elif column.dtype == 'int64':
        return 'int'
    elif column.dtype == 'float64':
        return 'float'
    elif column.dtype == 'bool':
        return 'bool'
    else:
        return 'unknown'

# Enter the data
df = pd.DataFrame({'a': [1, 2, 3], 'b': [4, 5, 6], 'c': [7, 8, 9]})

# Calling the function
print((get_column_type(df['a'])))

#Example Output
# int

#Remember to inspect code for bugs.