buffalo_core.numeric.as_int_array

buffalo_core.numeric.as_int_array(value)[source]

Normalize numeric input to an int32 NumPy array.

Parameters:

value (buffalo_core.typing.IntInput) – Scalar, sequence, or NumPy integer input to normalize.

Returns:

NumPy array with int32 dtype containing the normalized values.

Return type:

buffalo_core.typing.IntArray

Notes

This helper is intended for function-boundary normalization in public and shared numeric APIs. It produces the stable integer array form used throughout Buffalo Core.