code: def embed_img(series):
      return series.apply(
          lambda s: '<a href="%s" target="_blank"><img src="%s"/></a>'
          % (s, s)
          if len(str(s)) > 0 and not str(s) == "nan"
          else ""
      )
  
file_path: pygraphistry/graphistry/nodexlistry.py
imports: import pandas
label_desc: Use image node_id 3 for calling the NodeXLGraphistryBase obj's underlying member method code with example usage: obj.embed_img(series) and returns: series