-
Notifications
You must be signed in to change notification settings - Fork 33
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
questions about Pandas? #51
Comments
I ran into the same error yesterday, downgrading my pandas to version to 1.2.0 fixed it for me. I manually installed pandas1.2.0 before re-installing scFEA. Hope this helps |
Thank you for your help! |
I tried to downgrade the pandas version, but also failed with the same error. Maybe in #53, I tried to change the source code with new attribute of pandas, i.e., pandas.concat. It worked. |
Thank you!I have solved this problem with your help. |
(base) C:\Users\Lenovo\scFEA>python src/scFEA.py --data_dir data --input_dir input --test_file Seurat_geneExpr.csv --moduleGene_file module_gene_glutaminolysis1_m23.csv --stoichiometry_matrix cmMat_glutaminolysis1_c17_m23.csv --cName_file cName_glutaminolysis1_c17_m23.csv --output_flux_file output/Seurat_gluta_flux.csv --output_balance_file output/Seurat_gluta_balance.csv
Starting load data...
Load compound name file, the balance output will have compound name.
Load data done.
Starting process data...
Traceback (most recent call last):
File "C:\Users\Lenovo\scFEA\src\scFEA.py", line 370, in
main(args)
File "C:\Users\Lenovo\scFEA\src\scFEA.py", line 172, in main
geneExprDf = geneExprDf.append(temp, ignore_index = True, sort=False)
^^^^^^^^^^^^^^^^^
File "D:\ANACONDA\Lib\site-packages\pandas\core\generic.py", line 6296, in getattr
return object.getattribute(self, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'DataFrame' object has no attribute 'append'. Did you mean: '_append'?
Is this question about pandas? How to resolve? Thanks a lot!
The text was updated successfully, but these errors were encountered: