human
Write me a Python program to return list out all column names.
assistant
Here is a Python program to return list out all column names

import pandas as pd

def list_out_all_column_names(df):
    """List out all column names"""
    return df.columns

# Enter the dataframe
df = pd.DataFrame({"col1": [1, 2, 3], "col2": [4, 5, 6]})

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

#Example Output
# Index(['col1', 'col2'], dtype='object')

#Remember to inspect code for bugs.