human
Python functions to delete columns from data frame in a database.
assistant
Here is a Python function to delete columns from data frame

import pandas as pd

def delete_columns(df, columns):
    """ Delete columns from data frame. """
    return df.drop(columns=columns)

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

# Calling the function
df_new = delete_columns(df, ['a'])

# Printing the result
print(df_new)

#Example Output
#    b  c
# 0  4  7
# 1  5  8
# 2  6  9

#Remember to inspect code for bugs.