You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's important to mention I'm using LDSC obtained though pip install ldsc for pyhton 3.11.4, so the version that is only available through pip install
How ever, I encountered the following error:
File "/software/python/Python-3.11.4/bin/ldsc.py", line 343, in ldscore
df = df.iloc[df.SNP.isin(print_snps.SNP),:]
I believe the expression df.SNP.isin(print_snps.SNP) would give back a boolean series, so for python 3 the appropriate way to write it would be with df.loc instead of df.iloc, so
df = df.loc[df.SNP.isin(print_snps.SNP),:]
The text was updated successfully, but these errors were encountered:
Hi,
Im trying to run something like
It's important to mention I'm using LDSC obtained though
pip install ldsc
for pyhton 3.11.4, so the version that is only available through pip installHow ever, I encountered the following error:
I believe the expression
df.SNP.isin(print_snps.SNP)
would give back a boolean series, so for python 3 the appropriate way to write it would be withdf.loc
instead ofdf.iloc
, soThe text was updated successfully, but these errors were encountered: