code: def add_log_income(results):
      """log income, bucket log income, income rank by localization, income rank by region by label"""
      new_results = results.copy()
      new_results["log_income"] = new_results["income"].apply(np.log)
      new_results["log_income_bckt"] = new_results["log_income"].apply(
          np.round
      )
      new_results["income_bucket"] = new_results["log_income"].apply(
          lambda x: INCOME_BUCKETS[np.round(x / 3)]
      )
      return new_results
  
imports: import json
  import os
  from math import ceil, floor
  from pathlib import Path
  import matplotlib.pyplot
  import numpy
  import pandas
  import seaborn
  from IPython.display import display_html
  from matplotlib.ticker import FixedLocator
  from vissl.utils.io import load_file, save_file
label_desc: Use image node_id 11 for calling a global function with example usage: add_log_income(results) and returns: new_results