Skip to content

Commit

Permalink
shorten the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasSchmidtblaicherQC committed Jan 30, 2024
1 parent 8504c03 commit 04314cd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/glum/_glm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 04314cd

Please sign in to comment.