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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1, 1.5.0
    • Component/s: SQL
    • Labels:
    • Target Version/s:
    • Sprint:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: