stochatreat
Python module for block randomization using pandas
Python module for block randomization using pandas
To install this package, run one of the following:
stochatreat is a Python module to employ block randomization using pandas. Mainly thought with RCTs in mind, it also works for any other scenario in where you would like to randomly allocate treatment within blocks or strata.
Summary
Python module for block randomization using pandas
Last Updated
Nov 29, 2025 at 19:53
License
MIT
Total Downloads
42.1K
Supported Platforms
GitHub Repository
https://github.com/manmartgarc/stochatreat