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

Class Table

cpp/gdb_arrow.py:999–1014  ·  view source on GitHub ↗

A arrow::Table.

Source from the content-addressed store, hash-verified

997
998
999class Table:
1000 """
1001 A arrow::Table.
1002 """
1003
1004 def __init__(self, val):
1005 # XXX this relies on Table always being a SimpleTable under the hood.
1006 # What if users create their own Table implementation?
1007 self.val = cast_to_concrete(val,
1008 gdb.lookup_type("arrow::SimpleTable"))
1009 self.schema = Schema(deref(self.val['schema_']))
1010 self.columns = StdPtrVector(self.val['columns_'])
1011
1012 @property
1013 def num_rows(self):
1014 return self.val['num_rows_']
1015
1016
1017type_reprs = {

Callers 1

__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected