title: Alias for column in pandas
body: <p>I have a dataframe:</p>
  
  <pre><code>df = pd.DataFrame({"by_week": list_1, "by_month": list_2})
  </code></pre>
  
  <p>Now I need to get a html table <code>html = df.to_html()</code> where columns are generated like:</p>
  
  <pre><code>&lt;tr&gt;
    &lt;th&gt;&lt;/th&gt;
    &lt;th&gt;by_month&lt;/th&gt;
    &lt;th&gt;by_week&lt;/th&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>But I'm looking for more human-readable header column like:</p>
  
  <pre><code>&lt;tr&gt;
    &lt;th&gt;&lt;/th&gt;
    &lt;th&gt;Last 7 days&lt;/th&gt;
    &lt;th&gt;Last 30 days&lt;/th&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>I have two options for solving it: 
  <strong>Option 1</strong></p>
  
  <pre><code>html = html.replace("by_week", "Last 7 days").replace("by_month", "Last 30 days")
  </code></pre>
  
  <p>But code is messy</p>
  
  <p><strong>Option 2</strong></p>
  
  <pre><code>df = pd.DataFrame({"Last 7 days": list_1, "Last 30 days": list_2})
  </code></pre>
  
  <p>but it is hard to write/access to a specific column each time.</p>
  
  <p>so... Does alias for columns exist?</p>