Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-6116 DataFrame API improvement umbrella ticket (Spark 1.5)
  3. SPARK-7991

Python DataFrame: support passing a list into describe

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.1, 1.5.0
    • SQL
    • Spark 1.5 doc/QA sprint

    Description

      DataFrame.describe in Python takes a vararg, i.e. it can be invoked this way:

      df.describe('col1', 'col2', 'col3')
      

      Most of our DataFrame functions accept a list in addition to varargs. describe should do the same, i.e. it should also accept a Python list:

      df.describe(['col1', 'col2', 'col3'])
      

      Attachments

        Activity

          People

            ameyc Amey Chaugule
            rxin Reynold Xin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: