Question: (Python) Why isnt my hashed function working? Im stuck on this one. Please see the atatched picture [156] def df_filterer(data, Interest_column, value, keep): if isinstance('data',
[156] def df_filterer(data, Interest_column, value, keep): if isinstance('data', pd. DataFrame): raise ValueError("You are not passing in a dataframe into data) #if value not in data.columns.values.tolist(): #raise ValueError('volue not in interest_column if Interest column not in data.columns.values.tolist(): raise Exeption('interest_column not in dataframe> Filtered_data-data data interest column].value] filtered_data-filtered_data[keepl return filtered data princeton_ast - df_filterer(data, "Alma Mater's University of Kansas', ['Name')) princeton ast Name 93 Joe H. Engle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
