code: def align_index(df_dict, join):
      res = {}
      for k, df in df_dict.items():
          if join is not None and k != join:
              df = df.reindex(df_dict[join].index)
          res[k] = df
      return res
  
imports: import pandas
  from typing import Dict, Iterable, Union
  import builtins
label_desc: Use image node_id 1 for calling a global function with example usage: align_index(df_dict, join) and returns: res