numpy.i: a SWIG interface file for NumPy — NumPy v2.0 Manual
A number of functions, supplied by numpy.i, are called to make and check the (possible) conversion from a generic Python object to a NumPy array. These functions are explained in the section Helper Functions, but hopefully their names are self-explanatory.