class_docstr: A column in a DataFrame.
  
  .. versionadded:: 1.3.0
  
  .. versionchanged:: 3.4.0
      Supports Spark Connect.
  
  Examples
  --------
  Column instances can be created by
  
  >>> df = spark.createDataFrame(
  ...      [(2, "Alice"), (5, "Bob")], ["age", "name"])
  
  Select a column out of a DataFrame
  >>> df.name
  Column<'name'>
  >>> df["name"]
  Column<'name'>
  
  Create from an expression
  
  >>> df.age + 1
  Column<...>
  >>> 1 / df.age
  Column<...>
class_docstr_tok: ["A","column","in","a","DataFrame",".","..","versionadded",":",":","1.3.0","..","versionchanged",":",":","3.4.0","Supports","Spark","Connect",".","Examples","--","--","--","--","Column","instances","can","be","created","by",">",">",">","df","=","spark.createDataFrame","(","...","[","(","2",",","``","Alice","''",")",",","(","5",",","``","Bob","''",")","]",",","[","``","age","''",",","``","name","''","]",")","Select","a","column","out","of","a","DataFrame",">",">",">","df.name","Column","<","'name","'",">",">",">",">","df","[","``","name","''","]","Column","<","'name","'",">","Create","from","an","expression",">",">",">","df.age","+","1","Column","<","...",">",">",">",">","1","\/","df.age","Column","<","...",">"]
docstr: Evaluates a list of conditions and returns one of multiple possible result expressions.
  If :func:`Column.otherwise` is not invoked, None is returned for unmatched conditions.
  
  .. versionadded:: 1.4.0
  
  .. versionchanged:: 3.4.0
      Supports Spark Connect.
  
  Parameters
  ----------
  value
      a literal value, or a :class:`Column` expression.
  
  Returns
  -------
  :class:`Column`
      Column representing whether each element of Column is unmatched conditions.
  
  Examples
  --------
  >>> from pyspark.sql import functions as sf
  >>> df = spark.createDataFrame(
  ...      [(2, "Alice"), (5, "Bob")], ["age", "name"])
  >>> df.select(df.name, sf.when(df.age > 3, 1).otherwise(0)).show()
  +-----+-------------------------------------+
  | name|CASE WHEN (age > 3) THEN 1 ELSE 0 END|
  +-----+-------------------------------------+
  |Alice|                                    0|
  |  Bob|                                    1|
  +-----+-------------------------------------+
  
  See Also
  --------
  pyspark.sql.functions.when
docstr_tok: ["Evaluates","a","list","of","conditions","and","returns","one","of","multiple","possible","result","expressions",".","If",":","func",":","`","Column.otherwise","`","is","not","invoked",",","None","is","returned","for","unmatched","conditions",".","..","versionadded",":",":","1.4.0","..","versionchanged",":",":","3.4.0","Supports","Spark","Connect",".","Parameters","--","--","--","--","--","value","a","literal","value",",","or","a",":","class",":","`","Column","`","expression",".","Returns","--","--","--","-",":","class",":","`","Column","`","Column","representing","whether","each","element","of","Column","is","unmatched","conditions",".","Examples","--","--","--","--",">",">",">","from","pyspark.sql","import","functions","as","sf",">",">",">","df","=","spark.createDataFrame","(","...","[","(","2",",","``","Alice","''",")",",","(","5",",","``","Bob","''",")","]",",","[","``","age","''",",","``","name","''","]",")",">",">",">","df.select","(","df.name",",","sf.when","(","df.age",">","3",",","1",")",".otherwise","(","0",")",")",".show","(",")","+","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-+","|","name|CASE","WHEN","(","age",">","3",")","THEN","1","ELSE","0","END|","+","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-+","|Alice|","0|","|","Bob|","1|","+","--","--","-+","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","--","-+","See","Also","--","--","--","--","pyspark.sql.functions.when"]
code: def otherwise(self, value: Any) -> "Column":
      """
      Evaluates a list of conditions and returns one of multiple possible result expressions.
      If :func:`Column.otherwise` is not invoked, None is returned for unmatched conditions.
  
      .. versionadded:: 1.4.0
  
      .. versionchanged:: 3.4.0
          Supports Spark Connect.
  
      Parameters
      ----------
      value
          a literal value, or a :class:`Column` expression.
  
      Returns
      -------
      :class:`Column`
          Column representing whether each element of Column is unmatched conditions.
  
      Examples
      --------
      >>> from pyspark.sql import functions as sf
      >>> df = spark.createDataFrame(
      ...      [(2, "Alice"), (5, "Bob")], ["age", "name"])
      >>> df.select(df.name, sf.when(df.age > 3, 1).otherwise(0)).show()
      +-----+-------------------------------------+
      | name|CASE WHEN (age > 3) THEN 1 ELSE 0 END|
      +-----+-------------------------------------+
      |Alice|                                    0|
      |  Bob|                                    1|
      +-----+-------------------------------------+
  
      See Also
      --------
      pyspark.sql.functions.when
      """
      v = value._jc if isinstance(value, Column) else value
      jc = self._jc.otherwise(v)
      return Column(jc)
  
imports: import sys
  import json
  import warnings
  from typing import cast, overload, Any, Callable, Iterable, List, Optional, Tuple, TYPE_CHECKING, Union
  from py4j.java_gateway import JavaObject, JVMView
  from pyspark import copy_func
  from pyspark.context import SparkContext
  from pyspark.errors import PySparkAttributeError, PySparkTypeError, PySparkValueError
  from pyspark.sql.types import DataType
  from pyspark.sql.utils import get_active_spark_context
label_desc: Use image node_id 23 for calling the Column obj's underlying member method code with example usage: obj.otherwise(value) and returns: Column