title: how add tag to pandas dataframe.to_html links so that absolute path of url will not shown in the html but a tag instead?
body: <p>In my DataFrame I have column named <code>id</code> in it, I want to make this column clickable so that the HTML line in the table will be <code>&lt;td&gt;&lt;a href=&quot;../../link/to/{id}&quot; target=&quot;_blank&quot;&gt;{id}&lt;/a&gt;&lt;/td&gt;</code>, the workaround I made is just replace to unicode that return from the <code>to_html</code> method:</p>
  <pre><code>import pandas as pd
  from pandas import Timestamp
  dict_df_example = {
      'ship_price': {0: 25.0, 1: 25.0},
      'name': {0: u'prodct example', 1: u'prodct example 2'},
      'when_seen': {0: Timestamp('2019-09-07 02:31:07'),
      1: Timestamp('2019-09-07 02:40:46')},
      'price': {0: 17.0, 1: 17.0},
      'id': {0: 101025072, 1: 101021537}
  }
  df_products = pd.DataFrame.from_dict(dict_df_example)
  
  list_ids = df_products.id.tolist()
  df_products = df_products.to_html(index=False, table_id=&quot;table-id&quot;, render_links=True)
  for id in list_ids:
      df_products = df_products.replace(
          '&lt;td&gt;{0}&lt;/td&gt;'.format(id),
          '''&lt;td&gt;&lt;a href=&quot;../../link/to/{id}&quot; target=&quot;_blank&quot;&gt;{id}&lt;/a&gt;&lt;/td&gt;'''.format(id=id)
      )
  </code></pre>
  <p>and then render this to HTML, in my HTML django template:</p>
  <pre><code>{% autoescape off %}
      {{ df_products }}
  {% endautoescape %}
  </code></pre>
  <p>How can I achieve this functionality of get URL with label in pandas?</p>