Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
273
class
Slice:
Callers
nothing calls this directly
Calls
2
decode
Method · 0.80
encode
Method · 0.80
Tested by
no test coverage detected