code: def load_seed_relations(fdir: Path) -> pd.DataFrame:
      """
      Returns a dataframe containing seed relations and associated information.
  
      Args:
          fdir (str): path to folder containined seed relations TSV files
  
      Returns:
          pd.DataFrame: dataframe for data in tsv files.
      """
      filepaths = fdir.glob("*.csv")
      df_list = []
      for filepath in filepaths:
          domain = filepath.name
          domain = domain.replace(".csv", "")
          domain = domain.replace("wikidata relations - ", "")
          df = pd.read_csv(filepath, sep=",")
          df["domain"] = len(df) * [domain]
          df_list.append(df)
      return pd.concat(df_list)
  
file_path: H2O/h2o_hf/helm/scripts/fact_completion/utils.py
imports: import os
  import json
  from typing import Iterator, Dict, List
  import pandas
  from pathlib import Path
label_desc: Use image node_id 6 for calling a global function with example usage: load_seed_relations(fdir) and returns: pd