Closed
Description
Code Sample, a copy-pastable example if possible
df = pd.DataFrame(np.random.randn(10, 2))
df.style.set_include_index(False) # name TBD
Expected Output
Same output, but without the index
Would maybe want a way to hide the columns too.
Current workaround
df = pd.DataFrame(np.random.randn(10, 2))
df.style.set_table_styles([
{'selector': '.row_heading, .blank', 'props': [('display', 'none;')]}
])
This doesn't work if there's a df.index.name
and almost surely doesn't work with MultiIndexes.