User:Statsrick/PYTHONUDF code