pandas (판다스) 기초 10 세로배열재정의zip, Series, add rows 다중 열 추가
# Series 생성 df2 = pd.Series(index = player, data = nationality, name = 'Nationality').to_frame() df2 ''' Nationality (Argentina, FC Barcelona, False, 1.7, 45)Argentina (Portugal, Juventus FC, False, 1.87, 44)Portugal (Brasil, Paris SG, False, 1.75, 28)Brasil (France, Paris SG, True, 1.78, 21)France (Germany, FC Bayern, True, 1.93, 0)Germany ''' # Creating DataFrames from Scratch with pd.DataFra..
2022. 7. 18.