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

Function format_null_count

cpp/gdb_arrow.py:237–244  ·  view source on GitHub ↗

Format a null count value.

(val)

Source from the content-addressed store, hash-verified

235
236
237def format_null_count(val):
238 """
239 Format a null count value.
240 """
241 if not isinstance(val, int):
242 null_count = int(load_null_count(val))
243 return (f"null count {null_count}" if null_count != -1
244 else "unknown null count")
245
246
247def short_time_unit(val):

Callers 2

_format_contentsMethod · 0.85
to_stringMethod · 0.85

Calls 1

load_null_countFunction · 0.85

Tested by

no test coverage detected