Skip to content

Commit 1b1ad9d

Browse files
committed
fix slow tests
1 parent 4a41f52 commit 1b1ad9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/io/test_html.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -682,8 +682,8 @@ def try_remove_ws(x):
682682
"Hamilton Bank, NA",
683683
"The Citizens Savings Bank",
684684
]
685-
dfnew = df.applymap(try_remove_ws).replace(old, new)
686-
gtnew = ground_truth.applymap(try_remove_ws)
685+
dfnew = df.map(try_remove_ws).replace(old, new)
686+
gtnew = ground_truth.map(try_remove_ws)
687687
converted = dfnew
688688
date_cols = ["Closing Date", "Updated Date"]
689689
converted[date_cols] = converted[date_cols].apply(to_datetime)

0 commit comments

Comments
 (0)