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

import pandas as pd

def delete_columns(df, columns):
    """
    Deletes columns from data frame
    :param df: data frame
    :param columns: list of columns to be deleted
    :return: data frame with deleted columns
    """
    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((delete_columns(df, ["col1", "col2"])))

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

#Remember to inspect code for bugs.