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

Method Visit

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

Source from the content-addressed store, hash-verified

1148 PyObject** out_values;
1149
1150 Status Visit(const NullType& type) {
1151 for (int c = 0; c < data.num_chunks(); c++) {
1152 std::shared_ptr<Array> arr = data.chunk(c);
1153
1154 for (int64_t i = 0; i < arr->length(); ++i) {
1155 // All values are null
1156 Py_INCREF(Py_None);
1157 *out_values = Py_None;
1158 ++out_values;
1159 }
1160 }
1161 return Status::OK();
1162 }
1163
1164 Status Visit(const BooleanType& type) {
1165 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
timezoneMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected