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
When the html output is truncated (by using mmax_rows=..), you get ... to indicate this, but not when using index=False:
mmax_rows=..
...
index=False
df = pd.DataFrame(np.random.randn(5,2)) df.to_html(max_rows=4, index=False)
cc @TomAugspurger follow-up from #14999
The text was updated successfully, but these errors were encountered:
to_html misses truncation indicators (...) when index=False
and when index=True and max_rows=1 which is inconsistent with max_cols=1 behavior:
index=True
max_rows=1
max_cols=1
Sorry, something went wrong.
Reproducible code sample to use as test case:
np.random.seed(seed=0) df = pd.DataFrame(np.random.randn(5,2)) df.to_html(max_rows=4, index=False)
Successfully merging a pull request may close this issue.
When the html output is truncated (by using
mmax_rows=..
), you get...
to indicate this, but not when usingindex=False
:cc @TomAugspurger follow-up from #14999
The text was updated successfully, but these errors were encountered: