def drop_unnecessaries(df):
    """Remove any permanently closed restaurants, and remove unwanted columns"""
    df_copy = df.copy()
    df_pruned = df_copy[df_copy['is_closed']==False]
    df_pruned.drop(columns=['_id', 'categories', 'coordinates', 'display_phone', 'is_closed', 'phone', 'price', 'name', 'display_phone', 'distance', 'lats', 'longs'], inplace=True)
    return df_pruned