Skip to content

Commit e3ec0b2

Browse files
committed
Do not use categorical data when converting to DataFrame
1 parent 5ce6da5 commit e3ec0b2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

adaptive/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ def assign_defaults(function, df, function_prefix: str = "function."):
119119
defaults = _default_parameters(function, function_prefix)
120120
for k, v in defaults.items():
121121
df[k] = len(df) * [v]
122-
df[k] = df[k].astype("category")
123122

124123

125124
def partial_function_from_dataframe(function, df, function_prefix: str = "function."):

0 commit comments

Comments
 (0)