We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b605f3 commit f6204a5Copy full SHA for f6204a5
asv_bench/benchmarks/inference.py
@@ -223,7 +223,7 @@ class ToDatetimeFormat:
223
def setup(self):
224
N = 100000
225
self.s = Series(["19MAY11", "19MAY11:00:00:00"] * N)
226
- self.s2 = self.s.str.replace(":\\S+$", "")
+ self.s2 = self.s.str.replace(":\\S+$", "", regex=True)
227
228
self.same_offset = ["10/11/2018 00:00:00.045-07:00"] * N
229
self.diff_offset = [
0 commit comments