3
은 내가 팬더 Dataframe을 구축하려는 모든 행 DF2의 열 이름과 동일해야합니다반복 동일한 행 팬더 Dataframe 건설
df1 = pd.Dataframe(???, index=df2.index, columns=df2.columns)
나는이 함께 시도했지만 작동하지 않습니다
따라서df1 = pd.Dataframe( np.repeat(df2.columns, df2.shape[0]) , index=df2.index, columns=df2.columns)