Skip to content
Snippets Groups Projects
Commit 991ee973 authored by mrethore's avatar mrethore
Browse files

pandas chained assignment update

parent f76f45ce
No related branches found
No related tags found
1 merge request!14Completion of missing amr classifications
......@@ -173,8 +173,8 @@ def armfinder_to_table(data_resistance:pd.DataFrame) -> pd.DataFrame:
family = data_resistance['Class'][res]
if table[family][strain] != '' :
table[family][strain] += ";"
table[family][strain] += gene
table.loc[strain, family] += ";"
table.loc[strain, family] += gene
return table
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment