Python Numpy apply_over_axes() - Apply Function Over Axes | Vultr Docs