I'm very new to Python and I'm trying to remove 'Low Risk' and 'Medium Risk' from an array. Below is the code I'm using:
test=totalapproved_df[totalapproved_df['grossapproved_label']!='Low Risk']
test['grossapproved_label'].unique()
Result:
array(['Medium Risk', 'High Risk'], dtype=object)