Feature importance

Hi All

Machine learning
lesson 3

feature_importance part

how does “rf_feat_importance()” work ?

i can replace df_trn with df_raw in this function
which is funny
because i have built random forest model on (x_train and y_train)

@sgugger
@PierreO
@init_27

could you please answer this question?

full stack trace
see last part
{https://github.com/mahdirezaey/ML-my-lesson-2-interpretation-/blob/master/ML%20my%20lesson%202%20interpretation%20.ipynb}