Skip to content

Commit

Permalink
convert
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasSchmidtblaicherQC committed Jan 30, 2024
1 parent f87a772 commit 8504c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/glum/_glm.py
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ def _convert_from_pandas(
),
getattr(self, "cat_missing_method", "fail"),
)
if getattr(self, "cat_missing_method", "fail"):
if getattr(self, "cat_missing_method", "fail") == "convert":
df = _add_missing_categories(
df=df,
dtypes=self.feature_dtypes_,
Expand Down

0 comments on commit 8504c03

Please sign in to comment.