MCPcopy Create free account
hub / github.com/numpy/numpy / _format_non_nat

Method _format_non_nat

numpy/core/arrayprint.py:1329–1333  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

1327 return super().__call__(x)
1328
1329 def _format_non_nat(self, x):
1330 return "'%s'" % datetime_as_string(x,
1331 unit=self.unit,
1332 timezone=self.timezone,
1333 casting=self.casting)
1334
1335
1336class TimedeltaFormat(_TimelikeFormat):

Callers 1

__call__Method · 0.95

Calls 1

datetime_as_stringFunction · 0.90

Tested by

no test coverage detected