From cbb97c7fb4b30da92b56fa29e3addea88a79cd2d Mon Sep 17 00:00:00 2001 From: Kenny Date: Wed, 21 Jul 2021 19:34:12 +0800 Subject: [PATCH] fix typo --- mim/commands/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mim/commands/search.py b/mim/commands/search.py index 5c62aed..315dbe1 100644 --- a/mim/commands/search.py +++ b/mim/commands/search.py @@ -712,7 +712,7 @@ def print_df(dataframe: DataFrame, display_width: int = 80) -> None: return output def _generate_output(): - pd.set_option('display_width', display_width) + pd.set_option('display.width', display_width) for row in dataframe.iterrows(): yield _table(row)