class_docstr: A set of methods for aggregations on a :class:`DataFrame`,
  created by :func:`DataFrame.groupBy`.
  
  .. versionadded:: 1.3.0
  
  .. versionchanged:: 3.4.0
      Supports Spark Connect.
class_docstr_tok: ["A","set","of","methods","for","aggregations","on","a",":","class",":","`","DataFrame","`",",","created","by",":","func",":","`","DataFrame.groupBy","`",".","..","versionadded",":",":","1.3.0","..","versionchanged",":",":","3.4.0","Supports","Spark","Connect","."]
docstr: Computes average values for each numeric columns for each group.
  
  :func:`mean` is an alias for :func:`avg`.
  
  .. versionadded:: 1.3.0
  
  .. versionchanged:: 3.4.0
      Supports Spark Connect.
  
  Parameters
  ----------
  cols : str
      column names. Non-numeric columns are ignored.
docstr_tok: ["Computes","average","values","for","each","numeric","columns","for","each","group",".",":","func",":","`","mean","`","is","an","alias","for",":","func",":","`","avg","`",".","..","versionadded",":",":","1.3.0","..","versionchanged",":",":","3.4.0","Supports","Spark","Connect",".","Parameters","--","--","--","--","--","cols",":","str","column","names",".","Non-numeric","columns","are","ignored","."]
code: def mean(self, *cols: str) -> DataFrame:
      """Computes average values for each numeric columns for each group.
  
      :func:`mean` is an alias for :func:`avg`.
  
      .. versionadded:: 1.3.0
  
      .. versionchanged:: 3.4.0
          Supports Spark Connect.
  
      Parameters
      ----------
      cols : str
          column names. Non-numeric columns are ignored.
      """
  
imports: import sys
  from typing import Callable, List, Optional, TYPE_CHECKING, overload, Dict, Union, cast, Tuple
  from py4j.java_gateway import JavaObject
  from pyspark.sql.column import Column, _to_seq
  from pyspark.sql.session import SparkSession
  from pyspark.sql.dataframe import DataFrame
  from pyspark.sql.pandas.group_ops import PandasGroupedOpsMixin
label_desc: Use image node_id 7 for calling the GroupedData obj's underlying member method code with example usage: obj.mean() without return types