From 60c4938f3825f0a1253f1e6eb9a55fb330ed9d80 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Thu, 16 Jan 2025 14:21:04 -0600 Subject: add HTML version of sampling tool --- sampling/README.org | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 sampling/README.org (limited to 'sampling/README.org') diff --git a/sampling/README.org b/sampling/README.org new file mode 100644 index 0000000..6307ed1 --- /dev/null +++ b/sampling/README.org @@ -0,0 +1,32 @@ +#+title: Sampling Tools + +* =sample.py= + +#+begin_src sh +python ./sample.py +#+end_src + +#+begin_src text +Dataframe size (rows, columns): (100, 9) +Sample size: 5 +Sample: + Index Organization Id ... Industry Number of employees +79 80 cBa7EFe5D05Adaf ... Online Publishing 7805 +97 98 E7df80C60Abd7f9 ... Broadcast Media 236 +3 4 2bFC1Be8a4ce42f ... Automotive 921 +42 43 A2D89Ab9bCcAd4e ... Capital Markets / Hedge Fund / Private Equity 3816 +70 71 32BB9Ff4d939788 ... Wireless 6146 + +[5 rows x 9 columns] +#+end_src + +* =sample.html= + +This is an interactive web page that allows users to submit their population +size, sample size(s), and generate a psuedo-random sample list of numbers to use +when sampling against their population. + +Samples can be re-generated and validated using the seed numbers provided during +the original generation. + +[[sample-html.png]] -- cgit v1.2.3-70-g09d2