title: How to get rid of dataframe index name with plotly dash
body: <p>I have a sample dataframe which looks like this:</p>
  <pre><code>                894385426F4B81  8932F0978F4B80  89434C3243F4B81  899AD7554F4B80
  metric          82.557         227.063           9.193          91.205
  </code></pre>
  <p>But when I generate a table with plotly dash:</p>
  <pre><code>def generate_table(dataframe, max_rows=10):
      return html.Table([
          html.Thead(
              html.Tr( [html.Th(col) for col in dataframe.columns])
              
          ),
          html.Tbody([
              html.Tr([
  
                  html.Td(dataframe.iloc[i][col]) for col in dataframe.columns
              ]) for i in range(min(len(dataframe), max_rows))
              
          ])
      ])
  
  
  app = dash.Dash(__name__)
  
  app.layout = html.Div([
      html.H4(children='table name'),
      generate_table(output)
  ])
  </code></pre>
  <p>I see this table with this index name:</p>
  <pre><code>index          894385426F4B81  8932F0978F4B80  89434C3243F4B81  899AD7554F4B80
  metric         82.557           227.06299999999996   9.193     91.205
  </code></pre>
  <p>I pulling my hair out to get rid of the name <code>index</code></p>
  <p>for the dataframe itself this works, means I see the dataframe in my terminal without <code>index</code>:</p>
  <pre><code>output = output.rename_axis(None, axis=0)
  </code></pre>
  <p>I also tried:</p>
  <pre><code>output = output.rename_axis('', axis=1)
  output = output.index.set_names([''])
  output.columns.name = None
  output.index.name = None
  </code></pre>
  <p>Nothing helps!</p>
  <p>Btw, I need to use <code>output = output.reset_index()</code>, otherwise plotly dash doesn't print &quot;metric&quot;</p>