Skip to content

Commit 2f695eb

Browse files
author
florian
committed
Revert "Fixed a typo ("return _nan" -> "return_nan")"
This reverts commit 01c833a.
1 parent 58fd0b0 commit 2f695eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

category_encoders/ordinal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def fit(self, X, y=None, **kwargs):
144144
self.mapping = categories
145145

146146
X_temp = self.transform(X, override_return_df=True)
147-
self.feature_names = X_temp.columns.values.tolist()
147+
self.feature_names = X_temp.columns.tolist()
148148

149149
# drop all output columns with 0 variance.
150150
if self.drop_invariant:

0 commit comments

Comments
 (0)