code: def series_add_prefix(series, prefix):
      f = partial("{prefix}{}".format, prefix=prefix)
      return series.rename(index=f)
  
imports: import textwrap
  from functools import partial
label_desc: Use image node_id 3 for calling a global function with example usage: series_add_prefix(series, prefix) and returns: series