class_docstr: Series/Frames plotting accessor and method.
  
  Uses the backend specified by the
  option ``plotting.backend``. By default, plotly is used.
  
  Plotting methods can also be accessed by calling the accessor as a method
  with the ``kind`` argument:
  ``s.plot(kind='hist')`` is equivalent to ``s.plot.hist()``
docstr: Make a box plot of the Series columns.
  
  Parameters
  ----------
  **kwds : optional
      Additional keyword arguments are documented in
      :meth:`pyspark.pandas.Series.plot`.
  
  precision: scalar, default = 0.01
      This argument is used by pandas-on-Spark to compute approximate statistics
      for building a boxplot. Use *smaller* values to get more precise
      statistics (matplotlib-only).
  
  Returns
  -------
  :class:`plotly.graph_objs.Figure`
      Return an custom object when ``backend!=plotly``.
      Return an ndarray when ``subplots=True`` (matplotlib-only).
  
  Notes
  -----
  There are behavior differences between pandas-on-Spark and pandas.
  
  * pandas-on-Spark computes approximate statistics - expect differences between
    pandas and pandas-on-Spark boxplots, especially regarding 1st and 3rd quartiles.
  * The `whis` argument is only supported as a single number.
  * pandas-on-Spark doesn't support the following argument(s) (matplotlib-only).
  
    * `bootstrap` argument is not supported
    * `autorange` argument is not supported
  
  Examples
  --------
  Draw a box plot from a DataFrame with four columns of randomly
  generated data.
  
  For Series:
  
  .. plotly::
  
      >>> data = np.random.randn(25, 4)
      >>> df = ps.DataFrame(data, columns=list('ABCD'))
      >>> df['A'].plot.box()  # doctest: +SKIP
  
  This is an unsupported function for DataFrame type
docstr_tok: ["Make","a","box","plot","of","the","Series","columns",".","Parameters","--","--","--","--","--","*","*","kwds",":","optional","Additional","keyword","arguments","are","documented","in",":","meth",":","`","pyspark.pandas.Series.plot","`",".","precision",":","scalar",",","default","=","0.01","This","argument","is","used","by","pandas-on-Spark","to","compute","approximate","statistics","for","building","a","boxplot",".","Use","*","smaller","*","values","to","get","more","precise","statistics","(","matplotlib-only",")",".","Returns","--","--","--","-",":","class",":","`","plotly.graph_objs.Figure","`","Return","an","custom","object","when","``","backend","!","=plotly","``",".","Return","an","ndarray","when","``","subplots=True","``","(","matplotlib-only",")",".","Notes","--","--","-","There","are","behavior","differences","between","pandas-on-Spark","and","pandas",".","*","pandas-on-Spark","computes","approximate","statistics","-","expect","differences","between","pandas","and","pandas-on-Spark","boxplots",",","especially","regarding","1st","and","3rd","quartiles",".","*","The","`","whis","`","argument","is","only","supported","as","a","single","number",".","*","pandas-on-Spark","does","n't","support","the","following","argument","(","s",")","(","matplotlib-only",")",".","*","`","bootstrap","`","argument","is","not","supported","*","`","autorange","`","argument","is","not","supported","Examples","--","--","--","--","Draw","a","box","plot","from","a","DataFrame","with","four","columns","of","randomly","generated","data",".","For","Series",":","..","plotly",":",":",">",">",">","data","=","np.random.randn","(","25",",","4",")",">",">",">","df","=","ps.DataFrame","(","data",",","columns=list","(","'ABCD","'",")",")",">",">",">","df","[","'","A","'","]",".plot.box","(",")","#","doctest",":","+SKIP","This","is","an","unsupported","function","for","DataFrame","type"]
code: def box(self, **kwds):
      """
      Make a box plot of the Series columns.
  
      Parameters
      ----------
      **kwds : optional
          Additional keyword arguments are documented in
          :meth:`pyspark.pandas.Series.plot`.
  
      precision: scalar, default = 0.01
          This argument is used by pandas-on-Spark to compute approximate statistics
          for building a boxplot. Use *smaller* values to get more precise
          statistics (matplotlib-only).
  
      Returns
      -------
      :class:`plotly.graph_objs.Figure`
          Return an custom object when ``backend!=plotly``.
          Return an ndarray when ``subplots=True`` (matplotlib-only).
  
      Notes
      -----
      There are behavior differences between pandas-on-Spark and pandas.
  
      * pandas-on-Spark computes approximate statistics - expect differences between
        pandas and pandas-on-Spark boxplots, especially regarding 1st and 3rd quartiles.
      * The `whis` argument is only supported as a single number.
      * pandas-on-Spark doesn't support the following argument(s) (matplotlib-only).
  
        * `bootstrap` argument is not supported
        * `autorange` argument is not supported
  
      Examples
      --------
      Draw a box plot from a DataFrame with four columns of randomly
      generated data.
  
      For Series:
  
      .. plotly::
  
          >>> data = np.random.randn(25, 4)
          >>> df = ps.DataFrame(data, columns=list('ABCD'))
          >>> df['A'].plot.box()  # doctest: +SKIP
  
      This is an unsupported function for DataFrame type
      """
      from pyspark.pandas import DataFrame, Series
  
      if isinstance(self.data, (Series, DataFrame)):
          return self(kind="box", **kwds)
  
imports: import importlib
  import pandas
  import numpy
  from pandas.core.base import PandasObject
  from pandas.core.dtypes.inference import is_integer
  from pyspark.ml.feature import Bucketizer
  from pyspark.mllib.stat import KernelDensity
  from pyspark.sql import functions
  from pyspark.pandas.missing import unsupported_function
  from pyspark.pandas.config import get_option
  from pyspark.pandas.utils import name_like_string
label_desc: Use image node_id 8 for calling the PandasOnSparkPlotAccessor obj's underlying member method code with example usage: obj.box() and returns: self