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

Function format_null_count

cpp/gdb_arrow.py:235–242  ·  view source on GitHub ↗

Format a null count value.

(val)

Source from the content-addressed store, hash-verified

233
234
235def format_null_count(val):
236 """
237 Format a null count value.
238 """
239 if not isinstance(val, int):
240 null_count = int(load_null_count(val))
241 return (f"null count {null_count}" if null_count != -1
242 else "unknown null count")
243
244
245def 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