Skip to content

Commit 33872e4

Browse files
committed
fix lint
1 parent 1630df1 commit 33872e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1833,7 +1833,7 @@ def info(self, verbose=None, buf=None, max_cols=None, memory_usage=None,
18331833
def _verbose_repr():
18341834
lines.append('Data columns (total '
18351835
'{count} columns):'.format(count=cols_count))
1836-
space = max([len(pprint_thing(k)) for k in cols])
1836+
space = max((len(pprint_thing(k)) for k in cols))
18371837
space = max(space, len(pprint_thing('Column'))) + 4
18381838
space_num = len(pprint_thing(cols_count))
18391839
space_num = max(space_num, len(pprint_thing('Index'))) + 2

0 commit comments

Comments
 (0)