We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce8c0da commit 52cf5bcCopy full SHA for 52cf5bc
pandas/io/formats/format.py
@@ -948,7 +948,6 @@ def _format(x):
948
is_float_type = lib.map_infer(vals, is_float) & notna(vals)
949
leading_space = is_float_type.any()
950
951
- adj = _get_adjustment()
952
conf_max = get_option("display.max_colwidth")
953
954
fmt_values = []
@@ -959,7 +958,7 @@ def _format(x):
959
958
fmt_values.append(float_format(v))
960
elif conf_max is not None and (type(v) is compat.binary_type
961
or type(v) is compat.text_type):
962
- fmt_values.append(u' {v}'.format(v=_format(v[:conf_max*5])))
+ fmt_values.append(u' {v}'.format(v=_format(v[:conf_max * 5])))
963
else:
964
fmt_values.append(u' {v}'.format(v=_format(v)))
965
0 commit comments