Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _format_non_nat
Method
_format_non_nat
numpy/core/arrayprint.py:1337–1338 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
1335
1336
class
TimedeltaFormat(_TimelikeFormat):
1337
def
_format_non_nat(self, x):
1338
return
str(x.astype(
'i8'
))
1339
1340
1341
class
SubArrayFormat:
Callers
nothing calls this directly
Calls
1
astype
Method · 0.80
Tested by
no test coverage detected