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

Method to_string

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

Source from the content-addressed store, hash-verified

2240 yield ("type", field.type)
2241
2242 def to_string(self):
2243 num_fields = len(self.schema.fields)
2244 md_items = len(self.schema.metadata)
2245 if md_items > 0:
2246 return (f"arrow::Schema with {num_fields} fields "
2247 f"and {md_items} metadata items")
2248 else:
2249 return f"arrow::Schema with {num_fields} fields"
2250
2251
2252class BaseColumnarPrinter:

Callers

nothing calls this directly

Calls 1

lenFunction · 0.85

Tested by

no test coverage detected