XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • SparkR
    • None

    Description

      Parameter drops allows to return a vector/data.frame accordingly if the result of subsetting a data.frame has one single column (see example below). The same behavior is needed on a DataFrame.

      > head(iris[, 1, drop=F])
      Sepal.Length
      1 5.1
      2 4.9
      3 4.7
      4 4.6
      5 5.0
      6 5.4

      > head(iris[, 1, drop=T])
      [1] 5.1 4.9 4.7 4.6 5.0 5.4

      Attachments

        Issue Links

          Activity

            People

              olarayej Oscar D. Lara Yejas
              olarayej Oscar D. Lara Yejas
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: