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

Method IsNull

python/pyarrow/src/arrow/python/python_to_arrow.cc:175–181  ·  view source on GitHub ↗

Used for null checking before actually converting the values

Source from the content-addressed store, hash-verified

173
174 // Used for null checking before actually converting the values
175 static bool IsNull(const O& options, I obj) {
176 if (options.from_pandas) {
177 return internal::PandasObjectIsNull(obj);
178 } else {
179 return obj == Py_None;
180 }
181 }
182
183 // Used for post-conversion numpy NaT sentinel checking
184 static bool IsNaT(const TimestampType*, int64_t value) {

Callers 12

TestNoneAndNaNFunction · 0.45
WriteArrayObjectsFunction · 0.45
ConvertIntegerWithNullsFunction · 0.45
ConvertStructFunction · 0.45
ConvertListsLikeFunction · 0.45
ConvertMapHelperFunction · 0.45
ConvertNumericNullableFunction · 0.45
VisitMethod · 0.45
VisitDecimalMethod · 0.45
ConvertDatetimeFunction · 0.45
ConvertDatesShiftFunction · 0.45

Calls 1

PandasObjectIsNullFunction · 0.70

Tested by 1

TestNoneAndNaNFunction · 0.36