Skip to content

Commit 8504c03

Browse files
convert
1 parent f87a772 commit 8504c03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/glum/_glm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ def _convert_from_pandas(
896896
),
897897
getattr(self, "cat_missing_method", "fail"),
898898
)
899-
if getattr(self, "cat_missing_method", "fail"):
899+
if getattr(self, "cat_missing_method", "fail") == "convert":
900900
df = _add_missing_categories(
901901
df=df,
902902
dtypes=self.feature_dtypes_,

0 commit comments

Comments
 (0)