From 04314cdbe6536417cae46fcbbdc5a98865baa4aa Mon Sep 17 00:00:00 2001 From: Matthias Schmidtblaicher Date: Tue, 30 Jan 2024 18:11:35 +0100 Subject: [PATCH] shorten the comment --- src/glum/_glm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/glum/_glm.py b/src/glum/_glm.py index e3629569..24648337 100644 --- a/src/glum/_glm.py +++ b/src/glum/_glm.py @@ -910,8 +910,7 @@ def _convert_from_pandas( X = tm.from_pandas( df, drop_first=self.drop_first, - # prior to v3, categorical format used underscore - categorical_format=getattr( + categorical_format=getattr( # categorical format prior to v3 self, "categorical_format", "{name}__{category}" ), cat_missing_method=cat_missing_method_after_alignment,