Skip to content

BUG: to_html misses truncation indicators (...) when index=False #15019

Closed
@jorisvandenbossche

Description

@jorisvandenbossche

When the html output is truncated (by using mmax_rows=..), you get ... to indicate this, but not when using index=False:

df = pd.DataFrame(np.random.randn(5,2))
df.to_html(max_rows=4, index=False)

screenshot from 2016-12-31 11-02-49

cc @TomAugspurger follow-up from #14999

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIO HTMLread_html, to_html, Styler.apply, Styler.applymap

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions