Closed
Description
import pandas
df = pandas.DataFrame([
{'a': 'aa', 'b': 'ba', 'c': 'ca', 'd': 1},
{'a': 'ab', 'b': 'bb', 'c': 'cc', 'd': 2},
{'a': 'ac', 'b': 'bc', 'c': 'cc', 'd': 3}
])
df.pivot_table(cols=['a'], rows=['b', 'c']).to_html(max_cols=2)
while this:
df.pivot_table(cols=['a'], rows=['b']).to_html(max_cols=2)
As you can see in the first table, there are no ellipsis cells like in the second one.
I inspected the code to find the reason for this bug but couldn't find…