We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
df = pd.DataFrame(np.random.randn(10, 2)) df.style.set_include_index(False) # name TBD
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.
df.index.name
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Code Sample, a copy-pastable example if possible
Expected Output
Same output, but without the index
Would maybe want a way to hide the columns too.
Current workaround
This doesn't work if there's a
df.index.name
and almost surely doesn't work with MultiIndexes.The text was updated successfully, but these errors were encountered: