Skip to content

Commit 9738de9

Browse files
committed
clean up implementation
1 parent 025fa6d commit 9738de9

File tree

1 file changed

+2
-2
lines changed
  • src/nested_pandas/nestedframe

1 file changed

+2
-2
lines changed

src/nested_pandas/nestedframe/core.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,8 @@ def repack_row(chunk):
300300
return chunk.to_html(max_rows=1, max_cols=5, show_dimensions=True, index=False, header=False)
301301

302302
# Apply repacking to all nested columns
303-
repr = self.style.format({col:repack_first_cell for col in self.nested_columns}, subset=self.index[0])
304-
repr = repr.format({col:repack_row for col in self.nested_columns}, subset=pd.IndexSlice[self.index[1]:])
303+
repr = self.style.format({col: repack_first_cell for col in self.nested_columns}, subset=self.index[0])
304+
repr = repr.format({col: repack_row for col in self.nested_columns}, subset=pd.IndexSlice[self.index[1]:])
305305

306306
# Recover some truncation formatting, limited to head truncation
307307
# Use half of pandas sizes to account for large row height

0 commit comments

Comments
 (0)