code: def read_census_first_names_file(path: str) -> pd.DataFrame:
      names_df = pd.read_csv(
          curr_path + path,
          sep=r"\s+",
          header=None,
          names=["name", "frequency", "cumulative_frequency", "rank"],
          usecols=["name", "frequency"],
          index_col="name",
          keep_default_na=False,
      )
      names_df.index = names_df.index.str.upper()
      names_df["frequency"] = names_df["frequency"] / 100.0
      return names_df
  
file_path: bias-detector/bias_detector/p_groups_lookup.py
imports: import pandas
  import numpy
  import os
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: read_census_first_names_file(path) and returns: names_df