class_docstr: User defined function in Python
  
  .. versionadded:: 1.3
  
  Notes
  -----
  The constructor of this class is not supposed to be directly called.
  Use :meth:`pyspark.sql.functions.udf` or :meth:`pyspark.sql.functions.pandas_udf`
  to create this instance.
class_docstr_tok: ["User","defined","function","in","Python","..","versionadded",":",":","1.3","Notes","--","--","-","The","constructor","of","this","class","is","not","supposed","to","be","directly","called",".","Use",":","meth",":","`","pyspark.sql.functions.udf","`","or",":","meth",":","`","pyspark.sql.functions.pandas_udf","`","to","create","this","instance","."]
docstr: Updates UserDefinedFunction to nondeterministic.
  
  .. versionadded:: 2.3
docstr_tok: ["Updates","UserDefinedFunction","to","nondeterministic",".","..","versionadded",":",":","2.3"]
code: def asNondeterministic(self) -> "UserDefinedFunction":
      """
      Updates UserDefinedFunction to nondeterministic.
  
      .. versionadded:: 2.3
      """
      # Here, we explicitly clean the cache to create a JVM UDF instance
      # with 'deterministic' updated. See SPARK-23233.
      self._judf_placeholder = None
      self.deterministic = False
      return self
  
imports: from inspect import getfullargspec
  import functools
  import inspect
  import sys
  import warnings
  from typing import Callable, Any, TYPE_CHECKING, Optional, cast, Union
  from py4j.java_gateway import JavaObject
  from pyspark import SparkContext
  from pyspark.rdd import _prepare_for_python_RDD, PythonEvalType
  from pyspark.sql.column import Column, _to_java_expr, _to_seq
  from pyspark.sql.types import DataType, StringType, StructType, _parse_datatype_string
  from pyspark.sql.utils import get_active_spark_context
  from pyspark.sql.pandas.types import to_arrow_type
  from pyspark.sql.pandas.utils import require_minimum_pandas_version, require_minimum_pyarrow_version
  from pyspark.errors import PySparkTypeError, PySparkNotImplementedError, PySparkRuntimeError
label_desc: Use image node_id 7 for calling the UserDefinedFunction obj's underlying member method code with example usage: obj.asNondeterministic() and returns: self