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

Function IsPyInteger

python/pyarrow/src/arrow/python/helpers.h:72–72  ·  view source on GitHub ↗

\brief Check whether obj is an integer, independent of Python versions.

Source from the content-addressed store, hash-verified

70
71// \brief Check whether obj is an integer, independent of Python versions.
72inline bool IsPyInteger(PyObject* obj) { return PyLong_Check(obj); }
73
74// \brief Import symbols from pandas that we need for various type-checking,
75// like pandas.NaT or pandas.NA

Callers 3

VisitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected