def _clone_and_drop(data, drop_cols):
    """Returns a copy of a dataframe that doesn't have certain columns."""
    clone = data.copy()
    for col in drop_cols:
        if col in clone.columns:
            del clone[col]
    return clone