I have a workaround based upon this discussion, so I don’t think this problem is especially urgent. However, before applying code to a larger number of folders, I would like to see if I can better understand what went wrong in an earlier version of the code. Here is the Snakemake code: I think that the problem is that the
Tag: expand
Expand Pandas Dataframes adding rows by different ranges
I have a dataframe like this: SEG FAM GAMA MIN_RAT MAX_RAT VALOR PE 001 002 1 2 5,15 PE 001 002 2,1 3 2,55 And I need to “expand” the df adding new rows to make a new dataframe like this: SEG FAM GAMA MIN_RAT MAX_RAT VALOR PE 001 002 1 1 10,30 PE 001 002 1,1 1,1 9,79 PE