code: def lofo_to_df(lofo_scores, feature_list):
      importance_df = pd.DataFrame()
      importance_df["feature"] = feature_list
      importance_df["importance_mean"] = lofo_scores.mean(axis=1)
      importance_df["importance_std"] = lofo_scores.std(axis=1)
  
      for val_score in range(lofo_scores.shape[1]):
          importance_df["val_imp_{}".format(val_score)] = lofo_scores[
              :, val_score
          ]
  
      return importance_df.sort_values(
          "importance_mean", ascending=False
      )
  
imports: import multiprocessing
  import pandas
label_desc: Use image node_id 1 for calling a global function with example usage: lofo_to_df(lofo_scores, feature_list) and returns: importance_df