I need to convert ready-made R codes to Python codes

Job ID: 30957463

Budget: $10 – $30 USD

In this article;
https://medium.com/coinmonks/bitcoin-price-temperature-bands-d17695e164ea
"Bitcoin Price Temperature Bands" is explained by Dilution-proof.

R codes are available on his Github page; https://github.com/dilutionproof/medium/blob/main/2020-12-15_BPT-Bands_Medium.R

I only need "Bitcoin Price Temperature Bands" from what has been described. (You can see it in the image I attached)

I need this project converted from R codes to Python codes. (I have attached the CSV file for the Bitcoin data)

I want Python codes as project submission.

I'd love to hear the fees you have in mind for this project.