code: def get_gender_name_list(gender: str, names_path: str) -> List[str]:
      """
      Return a list of names of the specified gender from Newman, et al.
  
      Read names from https://journals.sagepub.com/doi/abs/10.1177/0146167218769858 and
      filter by the specified gender.
      """
      name_df = pd.read_csv(names_path)
      names = name_df[lambda df: df["Gender"].str.lower() == gender][
          "Name"
      ].values.tolist()
      print(f"Using {len(names):d} {gender} names: " + ", ".join(names))
      return names
  
file_path: ParlAI/projects/dialogue_bias/util.py
imports: import os
  from collections import defaultdict
  from typing import Dict, List, Tuple
  import pandas
label_desc: Use image node_id 1 for calling a global function with example usage: get_gender_name_list(gender, names_path) and returns: names