Skip to content
Snippets Groups Projects
  • Xiangrui Meng's avatar
    0401cbaa
    [SPARK-7157][SQL] add sampleBy to DataFrame · 0401cbaa
    Xiangrui Meng authored
    Add `sampleBy` to DataFrame. rxin
    
    Author: Xiangrui Meng <meng@databricks.com>
    
    Closes #6769 from mengxr/SPARK-7157 and squashes the following commits:
    
    991f26f [Xiangrui Meng] fix seed
    4a14834 [Xiangrui Meng] move sampleBy to stat
    832f7cc [Xiangrui Meng] add sampleBy to DataFrame
    0401cbaa
    History
    [SPARK-7157][SQL] add sampleBy to DataFrame
    Xiangrui Meng authored
    Add `sampleBy` to DataFrame. rxin
    
    Author: Xiangrui Meng <meng@databricks.com>
    
    Closes #6769 from mengxr/SPARK-7157 and squashes the following commits:
    
    991f26f [Xiangrui Meng] fix seed
    4a14834 [Xiangrui Meng] move sampleBy to stat
    832f7cc [Xiangrui Meng] add sampleBy to DataFrame