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',

(Python) Why isnt my hashed function working? Im stuck on this one. Please see the atatched picture
(Python) Why isnt my hashed function working? Im stuck on this one.

[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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!