Use Index as a variable for an equation in a DataFrame

前端 未结 0 648
梦毁少年i
梦毁少年i 2021-01-24 18:01

I have the following code:

def linear_rank_selection(popRanked):   
selectionResults = []
n = len(popRanked)

df = pd.DataFrame(np.array(popRanked), columns=[&quo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题