시작은 미약하였으나 , 그 끝은 창대하리라

15.[파이썬] 여러 리스트를 하나로 합쳐주는 zip함수 본문

새롭게 알게된_tech/파이썬_tech

15.[파이썬] 여러 리스트를 하나로 합쳐주는 zip함수

애플파ol 2022. 11. 9. 14:59
import pandas as pd

data_1=[1,2,3,4,5,6]
data_2=[4,5,2,5,6,7]

zipdata=zip(data_1,data_2)
print(pd.DataFrame(zipdata))

출력 :

Comments