-
Notifications
You must be signed in to change notification settings - Fork 4
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
Indexing pandas data frame with set will be deprecated #7
Comments
Hi @schae211 We are aware of this warning message. However, did the motif enrichment actually crash? (normally it should just print the warning but continue running). Best, S |
I was looking into this #8, and for a second I thought this issue here might have something to do with it. But this is not the case. |
Hi @schae211 Indeed, it's not the case. Thank you for the nice bug report in #8, I will take a look as soon as possible. In the mean time I will close this issue. Best S |
I am constructing ancenstral state with pastml package and I got this error any help please /usr/local/lib/python3.8/dist-packages/pandas/core/computation/expressions.py:20: UserWarning: Pandas requires version '2.7.3' or newer of 'numexpr' (version '2.7.1' currently installed). |
Could you please elaborate a bit more on what you are trying to do? All the best, Seppe |
Hi, this model for ancestral state reconstruction (ASR) ...pastml
-*p*hylogenetic
*a*nalysis with *s*pace and *t*ime *m*odel
We estimate the associations between pathogens and location and time
Gaspary
…On Tue, Oct 17, 2023 at 6:19 PM Seppe ***@***.***> wrote:
@Gat2018 <https://github.com/Gat2018>
Could you please elaborate a bit more on what you are trying to do?
I'm not familiar with the pastml package.
All the best,
Seppe
—
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKW3YOS2VB2I6HG2A5CNUTLX72VXNAVCNFSM57TLZ2BKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZWGY3TIOJXGI2Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Okay, and with which part of the code do you get this error? Can you show which command you were running? Best, Seppe |
Dear Seppe,
Yes, here is the command line and error I got attached
…On Tue, Oct 17, 2023 at 7:18 PM Seppe ***@***.***> wrote:
Okay, and with which part of the code do you get this error? Can you show
which command you were running?
Best,
Seppe
—
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKW3YOVDIVKXWCLLX4JE6TTX724VVAVCNFSM57TLZ2BKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZWGY4DINZTGM2A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @Gat2018 I'm sorry but I don't see the command ... Could you please copy-paste it (as text) in a comment on this issue? Best, Seppe |
The first line in the txt doc is the command ?
…On Wed, Oct 18, 2023 at 4:14 PM Seppe ***@***.***> wrote:
Hi @Gat2018 <https://github.com/Gat2018>
I'm sorry but I don't see the command ...
Could you please copy-paste it (as text) in a comment on this issue?
Best,
Seppe
—
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKW3YOQT65TCRMDFPFQT3XDX77P6BAVCNFSM57TLZ2BKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZWHA2TKNRYGEZQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I don't see the text file, that is the issue. So if you could just copy-paste the command and error (as a comment to this github issue) I can try and help you. |
Hi,
The command is
pastml -t For_Visualization_tree01.nwk -d tz_metadata2.csv -s , -i 1 -c
country --prediction_method MPPA -o OUT_DATA --html HTML --html_compressed
HTML_COMPRESSED --verbose --upload_to_itol --itol_tree_name ITOL_TREE
The problem for -c country
-c flag indicates the column that i want to include in the analysis so in
this case I have two columns in the csv file that looks like
name (index 0, first column that includes identifiers), country (index 1,
second column), date (index 2, third column for years (2010,2015, etc.....)
So my csv reads as name,country,date (three columns)
When I want to include country and date in the analysis -c country date
it does not work gives me this error TypeError:float() argument must be
a string or a number not a set?
When I just include one column (country) as -c country it does work well
So with one column included -c country IT WORKS
with two columns included -c county date IT DOES NOT WORK
....gives THIS TypeError:float() argument must be a string or a number not
a set?
…On Wed, Oct 18, 2023 at 6:17 PM Seppe ***@***.***> wrote:
I don't see the text file, that is the issue.
So if you could just copy-paste the command and error (as a comment to
this github issue) I can try and help you.
—
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKW3YOWEDQJYBC3X3OZJ2ILX776HZAVCNFSM57TLZ2BKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZWHA4DQMRYGEZA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @Gat2018 This issue is not related to pycistarget (the repo where you are posting your issue). All the best, Seppe |
In:
pycistarget/pycistarget/motif_enrichment_cistarget.py
Line 299 in 67a1757
I get the following error:
"Passing a set as an indexer will be deprecated and will raise in a future version. Use a list instead."
Using Pandas version 1.4.3 (the most recent version).
I guess you just have to wrap
list
around the set.The text was updated successfully, but these errors were encountered: