MCPcopy
hub / github.com/pandas-dev/pandas / time_encode_decode

Method time_encode_decode

asv_bench/benchmarks/strings.py:269–270  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

267 self.ser = Series(Index([f"i-{i}" for i in range(10_000)], dtype=object))
268
269 def time_encode_decode(self):
270 self.ser.str.encode("utf-8").str.decode("utf-8")
271
272
273class Slice:

Callers

nothing calls this directly

Calls 2

decodeMethod · 0.80
encodeMethod · 0.80

Tested by

no test coverage detected