Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 
avatar of JustAnotherDataEnthusiast

JustAnotherDataEnthusiast

JustAnotherDataEnthusiast has asked 0 questions and find answers to 1 problems.

Stats

15
EtPoint
3
Vote count
0
questions
1
answers

About

df['ratio'] = df.apply(lambda x: medians[x['department']] if pd.isnull(x['ratio']) or x['ratio']==0 else x['ratio'], axis=1)

JustAnotherDataEnthusiast questions