Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Help on random sampling

$
0
0
Hi hoping some one can help with random sampling please.

I have a massive spreadsheet with multiple columns. I want to pick a random sample of x records (say 5 records) per unique combination of values from selected columns. For example let's say I have 100 rows where state column is Illinois and city is Chicago. I want 5 random records out of those 100 observations. Again random 5 out of state/city rows of 800 PA/philly observations.

Viewing all articles
Browse latest Browse all 4999

Trending Articles