I have a pandas series like below:
admission_age_inyears [3.86703690989]
emergencydepartmentlengthofstayminutes [3.84708584711]
current_los_from_admissions [3.83956976064]
total_time_in_progressive_inpatient [3.63955027973]
total_time_spent_inpatient [2.59339330312]
nbr_of_hosp_last_90_days [2.44570139977]
total_time_spent_in_er [2.37914969651]
prior_admittype_emergency [2.18467109815]
nbr_inpatient_visits [2.09615621507]
curr_rx_gen_atorvastatin_calcium [2.08752966479]
substanceusehistory
curr_rx_gen_tranexamic_acid [-1.87352757522]
total_current_thera_ana [-1.89007660143]
total_surgery_duration [-2.50947580961]
avg_surgery_duration [-2.58916844719]
curr_rx_gen_celecoxib [-2.6594131822]
curr_rx_gen_propofol_iv [-3.04498593439]
curr_rx_gen_fentanyl_citrate [-3.14017330213]
curr_rx_gen_ketorolac_tromethamine [-3.14424766125]
curr_rx_gen_acetaminophen [-3.47925239986]
tot_est_median_income_dollars [-3.59465137553]
curr_rx_gen_midazolam_hcl [-3.73260903286]
I want to sort this series in descending order such that the highest absolute value feature should come on top. So here all the feature which have weights as 3+ irrespective if that is negative or positive will come on top , then all 2's and so on.Also want the corresponding actual values to be present along with the names
Please advise