From 4f3b4db8ca3c5edbb77136588ff69a96deba8403 Mon Sep 17 00:00:00 2001 From: Brock Date: Tue, 10 Oct 2023 11:00:48 -0700 Subject: [PATCH] Post-merge fixup --- pandas/io/formats/format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/io/formats/format.py b/pandas/io/formats/format.py index fce6fa85bb5b1..9d75f4cf3ab49 100644 --- a/pandas/io/formats/format.py +++ b/pandas/io/formats/format.py @@ -316,7 +316,7 @@ def to_string(self) -> str: have_header = _has_names(index) if isinstance(index, MultiIndex): fmt_index = index._format_multi(include_names=True, sparsify=None) - adj = get_adjustment() + adj = printing.get_adjustment() fmt_index = adj.adjoin(2, *fmt_index).split("\n") else: fmt_index = index._format_flat(include_name=True)