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

Method to_string

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

Source from the content-addressed store, hash-verified

1845 return self.data_printer._format_contents()
1846
1847 def to_string(self):
1848 if self.data_printer.type_class.is_parametric:
1849 ty = self.data_printer.type
1850 return f"arrow::{self.name} of type {ty}, {self._format_contents()}"
1851 else:
1852 return f"arrow::{self.name} of {self._format_contents()}"
1853
1854 def display_hint(self):
1855 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