From ef36fbaebd256a9e8eda67b203e2ef93d2ea311f Mon Sep 17 00:00:00 2001 From: Matti Picus Date: Mon, 3 Jun 2024 09:29:58 +0300 Subject: [PATCH] fix reference/generated/numpy.vectorize.html --- 1.25/reference/generated/numpy.vectorize.html | 29 ++++++++++--------- 1.26/reference/generated/numpy.vectorize.html | 29 ++++++++++--------- 2 files changed, 30 insertions(+), 28 deletions(-) diff --git a/1.25/reference/generated/numpy.vectorize.html b/1.25/reference/generated/numpy.vectorize.html index 994b2ccd5..8c63bb7e3 100644 --- a/1.25/reference/generated/numpy.vectorize.html +++ b/1.25/reference/generated/numpy.vectorize.html @@ -676,19 +676,20 @@

numpy.vectorizeMethods

+
>>> @np.vectorize
+... def identity(x):
+...     return x
+...
+>>> identity([0, 1, 2])
+array([0, 1, 2])
+>>> @np.vectorize(otypes=[float])
+... def as_float(x):
+...     return x
+...
+>>> as_float([0, 1, 2])
+array([0., 1., 2.])
+
+

Methods

@@ -803,4 +804,4 @@

numpy.vectorizeMethods

+
>>> @np.vectorize
+... def identity(x):
+...     return x
+...
+>>> identity([0, 1, 2])
+array([0, 1, 2])
+>>> @np.vectorize(otypes=[float])
+... def as_float(x):
+...     return x
+...
+>>> as_float([0, 1, 2])
+array([0., 1., 2.])
+
+

Methods

__call__(*args, **kwargs)

@@ -859,4 +860,4 @@

numpy.vectorize

__call__(*args, **kwargs)