We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a41f52 commit 1b1ad9dCopy full SHA for 1b1ad9d
pandas/tests/io/test_html.py
@@ -682,8 +682,8 @@ def try_remove_ws(x):
682
"Hamilton Bank, NA",
683
"The Citizens Savings Bank",
684
]
685
- dfnew = df.applymap(try_remove_ws).replace(old, new)
686
- gtnew = ground_truth.applymap(try_remove_ws)
+ dfnew = df.map(try_remove_ws).replace(old, new)
+ gtnew = ground_truth.map(try_remove_ws)
687
converted = dfnew
688
date_cols = ["Closing Date", "Updated Date"]
689
converted[date_cols] = converted[date_cols].apply(to_datetime)
0 commit comments