MCPcopy Index your code
hub / github.com/numpy/numpy / _format_non_nat

Method _format_non_nat

numpy/_core/arrayprint.py:1425–1430  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

1423 return super().__call__(x)
1424
1425 def _format_non_nat(self, x):
1426 datetime_str = datetime_as_string(x,
1427 unit=self.unit,
1428 timezone=self.timezone,
1429 casting=self.casting)
1430 return f"'{datetime_str}'"
1431
1432
1433class TimedeltaFormat(_TimelikeFormat):

Callers 1

__call__Method · 0.95

Calls 1

datetime_as_stringFunction · 0.90

Tested by

no test coverage detected