Hide row indices when displaying a dataframe
Overview
Streamlit offers two ways to display a dataframe: as a static table using st.table(), and as an interactive table using st.dataframe().
Both options display row indices in the left-most column. To see this in action, let's display a dataframe with random entries using both st.table() and st.dataframe():
```python
import streamlit as st
import pandas as pd
import numpy as np
df = pd.DataFrame(
    np.random.randn(10, 5),
    columns=("col %d" % i for i in range(5)))
Display a static table
st.table(df)
Display an interactive table
st.dataframe(df)
```
Notice how row indices are displayed to the left of the col0 column: 👇
To hide the column containing row indices, you can use CSS selectors to modify the visibility of the column. Before you display your dataframe, you must inject the appropriate CSS with st.markdown(), and set allow_unsafe_html=True.
