AWK else if to Python (Pandas)
AWK else if to Python (Pandas) Question: I have the following data: data = {‘f_geno’: ["AA", "AA", "AA", "BB", "BB", "BB", "AB", "AB", "AB"], ‘ch_geno’: ["AA", "AB", "BB", "AA", "AB", "BB", "AA", "BB", "AB"], ‘freq_A’: [0.50, 0.46, 0.49, 0.57, 0.55, 0.44, 0.37, 0.66, 0.46], ‘freq_B’: [0.50, 0.54, 0.51, 0.43, 0.45, 0.56, 0.63, 0.34, 0.54] } …