Skip to content

Commit f55258d

Browse files
committed
Fix column.categorical_to_numeric with pandas 1.1
See pandas-dev/pandas#35777
1 parent d4675fa commit f55258d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sksurv/column.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,4 +205,4 @@ def transform(column):
205205
if _pandas_version_under0p23:
206206
return table.apply(transform, axis=0, reduce=False)
207207
else:
208-
return table.apply(transform, axis=0, result_type='reduce')
208+
return table.apply(transform, axis=0, result_type='expand')

0 commit comments

Comments
 (0)