Convert R to python

Job ID: 33096268

Budget: $10 – $30 USD

I want to convert 2 simple R functions to Python functions.
If you have experience in R language, please bid.
tscv.sglpath in https://github.com/jstriaukas/midasml/blob/master/R/tscv.sglfit.R
predict.sglpath in https://github.com/jstriaukas/midasml/blob/master/R/predict.sglpath.R