code: def render(self) -> str:
      duplicate_html = to_html(self.content["duplicate"])
      return templates.template("duplicate.html").render(
          **self.content, duplicate_html=duplicate_html
      )
  
imports: import pandas
  from ydata_profiling.report.presentation.core.duplicate import Duplicate
  from ydata_profiling.report.presentation.flavours.html import templates
label_desc: Use image node_id 1 for calling the HTMLDuplicate obj's underlying member method code with example usage: obj.render() and returns: templates