Sort_values for know created DF

Viewed 20

I am trying to sort values descendingly for:-

FeatureImportances=pd.DataFrame(Tclf.feature_importances_,index=Name_features).sort_values(by='',axis = 0, ascending = False)

whenever I try to assign a feature"column" Name to the attribute 'by', it gives me an error So, what to assign for the attribute 'by'!!

0 Answers
Related