human
Can you show me a Python program to remove data frame columns.
assistant
Here is a Python program to remove data frame columns

import pandas as pd

def remove_columns(df, columns):
    """
    Removes columns from data frame
    """
    return df.drop(columns=columns)

# Enter the data frame
df = pd.DataFrame({"col1": [1,2,3], "col2": [4,5,6], "col3": [7,8,9]})

# Calling the function
print((remove_columns(df, ["col1", "col2"])))

#Example Output
#    col3
# 0     7
# 1     8
# 2     9

#Remember to inspect code for bugs.