MCPcopy Create free account
hub / github.com/apache/arrow / to_string

Method to_string

cpp/gdb_arrow.py:1325–1330  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1323 """
1324
1325 def to_string(self):
1326 unit = short_time_unit(self.type['unit_'])
1327 if not self.is_valid:
1328 return f"{self._format_type()} of null value [{unit}]"
1329 value = self.val['value']
1330 return f"{self._format_type()} of value {value}{unit}"
1331
1332
1333class Date32ScalarPrinter(TimeScalarPrinter):

Callers

nothing calls this directly

Calls 2

short_time_unitFunction · 0.85
_format_typeMethod · 0.45

Tested by

no test coverage detected