Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _bytes_to_date
Function
_bytes_to_date
numpy/lib/tests/test__iotools.py:137–138 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
135
136
137
def
_bytes_to_date(s):
138
return
date(*time.strptime(s,
"%Y-%m-%d"
)[:3])
139
140
141
class
TestStringConverter:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected