NumPy · Function
np.divide
numpy.divide divides two inputs element by element. Inputs with different shapes work when NumPy can broadcast them to a common shape.
Last updated
Syntax
numpy.divide(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature])In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
seterrtrue_divideufunc