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

Method Visit

python/pyarrow/src/arrow/python/arrow_to_pandas.cc:1161–1173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1159 PyObject** out_values;
1160
1161 Status Visit(const NullType& type) {
1162 for (int c = 0; c < data.num_chunks(); c++) {
1163 std::shared_ptr<Array> arr = data.chunk(c);
1164
1165 for (int64_t i = 0; i < arr->length(); ++i) {
1166 // All values are null
1167 Py_INCREF(Py_None);
1168 *out_values = Py_None;
1169 ++out_values;
1170 }
1171 }
1172 return Status::OK();
1173 }
1174
1175 Status Visit(const BooleanType& type) {
1176 for (int c = 0; c < data.num_chunks(); c++) {

Callers

nothing calls this directly

Calls 15

WrapFunction · 0.85
UnknownErrorFunction · 0.85
PyDate_from_intFunction · 0.85
PyTime_from_intFunction · 0.85
PyDateTime_from_intFunction · 0.85
StringToTzinfoFunction · 0.85
ListTypeSupportedFunction · 0.85
ConvertMapFunction · 0.85
ConvertStructFunction · 0.85
IsUuidExtensionFunction · 0.85
UuidFromBytesFunction · 0.85

Tested by

no test coverage detected