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

Method InvalidMix

python/pyarrow/src/arrow/python/inference.cc:106–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 NumPyDtypeUnifier() : current_type_num_(-1), current_dtype_(nullptr) {}
105
106 Status InvalidMix(int new_dtype) {
107 return Status::Invalid("Cannot mix NumPy dtypes ",
108 GetNumPyTypeName(current_type_num_), " and ",
109 GetNumPyTypeName(new_dtype));
110 }
111
112 Status InvalidDatetimeUnitMix(PyArray_Descr* new_descr) {
113 auto new_meta = reinterpret_cast<PyArray_DatetimeDTypeMetaData*>(

Callers

nothing calls this directly

Calls 2

GetNumPyTypeNameFunction · 0.85
InvalidFunction · 0.50

Tested by

no test coverage detected