Row Sampling

Hi, I need a 5% sampling of my data set, stratifying by last name. I need, however, for each sample to take a maximum of 5 lines. How can I set the Row Sampling node? Or is there another node to do this?

Hi,
I would use a Row Sampling node with stratified sampling on last name, followed by a Group Loop Start, where you only select last name as grouping column. Then you append another Row Sampling node which picks 5 rows from the top, followed by a Loop End.
Hope this helps!
Kind regards
Alexander

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.