{
  "name": "numpy.vectorize parameters: defaults and effects (NumPy 2.5 manual)",
  "description": "Each parameter of numpy.vectorize with its default value and documented effect, compiled from the NumPy v2.5 reference manual entry and checked against the signature line.",
  "page": "https://casrai.org/guides/numpy-vectorize",
  "publisher": "CASRAI",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "dateModified": "2026-11-16T22:07:26Z",
  "temporalCoverage": null,
  "spatialCoverage": null,
  "columns": [
    {
      "name": "Parameter",
      "unit": "",
      "description": ""
    },
    {
      "name": "Default",
      "unit": "",
      "description": ""
    },
    {
      "name": "Accepted values",
      "unit": "",
      "description": ""
    },
    {
      "name": "Documented effect",
      "unit": "",
      "description": ""
    }
  ],
  "rows": [
    {
      "Parameter": "pyfunc",
      "Default": "np._NoValue",
      "Accepted values": "Python callable",
      "Documented effect": "Function to vectorize; if omitted, vectorize returns a decorator"
    },
    {
      "Parameter": "otypes",
      "Default": "None",
      "Accepted values": "String of type characters or list of dtypes, one per output",
      "Documented effect": "Sets output dtype so the function is not called on the first element to infer it"
    },
    {
      "Parameter": "doc",
      "Default": "None",
      "Accepted values": "String",
      "Documented effect": "Docstring of the vectorized function; defaults to pyfunc.__doc__"
    },
    {
      "Parameter": "excluded",
      "Default": "None",
      "Accepted values": "Set of strings (names) or integers (positions)",
      "Documented effect": "Arguments that are passed through and not vectorized; lowers performance"
    },
    {
      "Parameter": "cache",
      "Default": "False",
      "Accepted values": "Boolean",
      "Documented effect": "If True and neither otypes nor signature is given, caches the first call to avoid the double call; wraps the function and slows later calls"
    },
    {
      "Parameter": "signature",
      "Default": "None",
      "Accepted values": "Generalized-ufunc string such as (m,n),(n)->(m)",
      "Documented effect": "Lets the function take and return arrays instead of scalars"
    }
  ],
  "sources": [
    {
      "title": "NumPy v2.5 manual: numpy.vectorize",
      "url": "https://numpy.org/doc/stable/reference/generated/numpy.vectorize.html",
      "accessed": "2026-11-13"
    }
  ]
}