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

Method to_string

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

Source from the content-addressed store, hash-verified

1828 return self.data_printer._format_contents()
1829
1830 def to_string(self):
1831 if self.data_printer.type_class.is_parametric:
1832 ty = self.data_printer.type
1833 return f"arrow::{self.name} of type {ty}, {self._format_contents()}"
1834 else:
1835 return f"arrow::{self.name} of {self._format_contents()}"
1836
1837 def display_hint(self):
1838 return self.data_printer.display_hint()

Calls 1

_format_contentsMethod · 0.95

Tested by 10

test_list_formatFunction · 0.36
test_string_formatFunction · 0.36
test_long_array_formatFunction · 0.36
test_binary_formatFunction · 0.36