Skip to content

add some type annotations io/formats/format.py #27418

New issue

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

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
blackify
  • Loading branch information
simonjayhawkins committed Jul 16, 2019
commit 5df8ffa281c5964b7f3ba1027a7a0bc9141a2146
4 changes: 1 addition & 3 deletions pandas/io/formats/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,7 @@ def _write_hierarchical_rows(

row.extend(fmt_values[j][i] for j in range(self.ncols))
if truncate_h:
row.insert(
self.row_levels - sparse_offset + truncate_h, "..."
)
row.insert(self.row_levels - sparse_offset + truncate_h, "...")
self.write_tr(
row,
indent,
Expand Down