code: def xls_to_edges_df(self, xls, edges_df_transformer=None):
      if edges_df_transformer is None:
          edges_df_transformer = (
              NodeXLGraphistryBase.edges_df_transformer_default
          )
      raw_edges_df = pd.read_excel(xls, "Edges")
      edge_header_dict = raw_edges_df[0:1].to_dict()
      edge_header_mapping = {
          x: edge_header_dict[x][0] for x in edge_header_dict.keys()
      }
      edges_df = raw_edges_df.rename(columns=edge_header_mapping)
  
      edges_df = edges_df_transformer(edges_df)
  
      edges_df = edges_df[1:]
      return edges_df
  
file_path: pygraphistry/graphistry/nodexlistry.py
imports: import pandas
label_desc: Use image node_id 6 for calling the NodeXLGraphistryBase obj's underlying member method code with example usage: obj.xls_to_edges_df(xls, edges_df_transformer) and returns: edges_df