-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: an integer is required #67
Comments
Hi @Kein0112, |
Did you find the solution for that? as i am encountering the same problem. |
@shm-smn could you share a test matrix to understand the issue? Thanks |
@fbrundu I just occurred the same problem. Do you familiar with this problem? |
@terminator9487 could you share some test data to understand the issue? Thanks |
Of course, Could I have you email address? |
If it's not private you can just drop it here. Can you anonymize it? |
Hi! I am experiencing the same problem when inputing this matrix (which is a subset of a larger one for which I get the same error): disease g1 g2 g3 Any idea of what the problem could be? Thanks in advanced! |
Hi @AlvaroRodriguezDelRio !
In the line 2, you can see that the values of the input data, that's, the actual CSV file is copied into a int cell of the 2d vector. On the other hand, the data file you input contains values in float format, due to which it is giving the TypeError. |
Thanks a lot for your answer @noobyogi0010 ! This was really helpful, I will be looking forward to the new updated version with the changes you propose! |
@noobyogi0010你好,能详细说说你是怎么改的吗 |
Description
I'm trying to run the below
n=10
pymrmr.mRMR(df.iloc[:, 1:], 'MIQ', n)
However, the error occurs as following.
TypeError: an integer is required
What I Did
I'm searching the solution for the error but there is the solution working in Cython.
And, I have no knowledge on Cython. Also, I tried to add a code pymrmr.pyx but it didn't work
The text was updated successfully, but these errors were encountered: