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: An expression that gets an item at position ``ordinal`` out of a list,
  or gets an item by key out of a dict.
  
  .. versionadded:: 1.3.0
  
  .. versionchanged:: 3.4.0
      Supports Spark Connect.
  
  Parameters
  ----------
  item
      a literal value.
  
  Returns
  -------
  :class:`Column`
      Column representing the item got by key out of a dict.
  
  Examples
  --------
  >>> df = spark.createDataFrame([('abcedfg', {"key": "value"})], ["l", "d"])
  >>> df.select(df.d.key).show()
  +------+
  |d[key]|
  +------+
  | value|
  +------+
docstr_tok: ["An","expression","that","gets","an","item","at","position","``","ordinal","``","out","of","a","list",",","or","gets","an","item","by","key","out","of","a","dict",".","..","versionadded",":",":","1.3.0","..","versionchanged",":",":","3.4.0","Supports","Spark","Connect",".","Parameters","--","--","--","--","--","item","a","literal","value",".","Returns","--","--","--","-",":","class",":","`","Column","`","Column","representing","the","item","got","by","key","out","of","a","dict",".","Examples","--","--","--","--",">",">",">","df","=","spark.createDataFrame","(","[","(","'abcedfg","'",",","{","``","key","''",":","``","value","''","}",")","]",",","[","``","l","''",",","``","d","''","]",")",">",">",">","df.select","(","df.d.key",")",".show","(",")","+","--","--","--","+","|d","[","key","]","|","+","--","--","--","+","|","value|","+","--","--","--","+"]
code: def __getattr__(self, item: Any) -> "Column":
      """
      An expression that gets an item at position ``ordinal`` out of a list,
      or gets an item by key out of a dict.
  
      .. versionadded:: 1.3.0
  
      .. versionchanged:: 3.4.0
          Supports Spark Connect.
  
      Parameters
      ----------
      item
          a literal value.
  
      Returns
      -------
      :class:`Column`
          Column representing the item got by key out of a dict.
  
      Examples
      --------
      >>> df = spark.createDataFrame([('abcedfg', {"key": "value"})], ["l", "d"])
      >>> df.select(df.d.key).show()
      +------+
      |d[key]|
      +------+
      | value|
      +------+
      """
      if item.startswith("__"):
          raise PySparkAttributeError(
              error_class="CANNOT_ACCESS_TO_DUNDER",
              message_parameters={},
          )
      return self[item]
  
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 9 for calling the Column obj's underlying member method code with example usage: obj.__getattr__(item) and returns: self