Skip to content

Commit 8ade8a8

Browse files
committed
fixed use of deprecated applymap function
1 parent fb7e87c commit 8ade8a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simopt/data_farming_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def fn(x: Any) -> Any: # noqa: ANN401
278278

279279
return x
280280

281-
design_table = design_table.applymap(fn)
281+
design_table = design_table.map(fn)
282282

283283
# If we don't have factor headers, use the column names from the design table.
284284
if not factor_headers:

0 commit comments

Comments
 (0)