code: def describe(self, *cols):
          
          if len(cols) == 1 and isinstance(cols[0], list):
              cols = cols[0]
          jdf = self._jdf.describe(self._jseq(cols))
          return DataFrame(jdf, self.sql_ctx)
docs: Computes basic statistics for numeric and string columns.
  
          This include count, mean, stddev, min, and max. If no columns are
          given, this function computes statistics for all numerical or string columns.
  
          .. note:: This function is meant for exploratory data analysis, as we make no
              guarantee about the backward compatibility of the schema of the resulting DataFrame.
  
          >>> df.describe(['age']).show()
          +-------+------------------+
          |summary|               age|
          +-------+------------------+
          |  count|                 2|
          |   mean|               3.5|
          | stddev|2.1213203435596424|
          |    min|                 2|
          |    max|                 5|
          +-------+------------------+
          >>> df.describe().show()
          +-------+------------------+-----+
          |summary|               age| name|
          +-------+------------------+-----+
          |  count|                 2|    2|
          |   mean|               3.5| null|
          | stddev|2.1213203435596424| null|
          |    min|                 2|Alice|
          |    max|                 5|  Bob|
          +-------+------------------+-----+
  
          Use summary for expanded statistics and control over which statistics to compute.