Hi Stack Overflow Community,
I have very little experience with Python, but want to run the following script which I found on Github: https://github.com/Meyer-DH/AgingClock
It is an aging predictor for RNA-Seq data, which I want to apply on my own dataset. To test out the script I first wanted to just use the example given on github. However, I already failed at running the script even with this data.
Here is what I got:
import numpy as np
import pandas as pd
cd /Users/....
df = pd.read_csv('GSE65765_CPM.csv', sep='\t')
Now calling the data frame I have imported works and I want to apply the first function to make it binary:
make_binary(df, filter_genes='WBG')
The return when I call the function however looks like this:

So instead of having it binarized I only receive the column with the gene name ID's. The question is probably very silly, but perhaps someone can help me with it.
Thank you in advance!