Entering edit mode
5.1 years ago
JulianC
▴
30
Hi!
I am trying to extract specific data from different files. my code is:
f1 = df1.loc[df1["ID"] == var1]
f1 = df2.loc[df2["ID"] == var1]
f1 = df3.loc[df3["ID"] == var1]
f1 = dfn.loc[dfn["ID"] == var1]
So I would like to iterate this code till df200, but the remaining part of the code should remain the same. The code is written in Python3 Do you have some ideas? Thank you!
what is that code ? what is that language ? what are those files ? what is the context ? how is it related to bioinformatics ? [ Please read before posting a question ] -- How To Ask A Good Question