21.01.12 10:39 작성
·
245
답변 3
0
0
2021. 01. 12. 17:15
import pandas as pd
df_amount = pd.read_csv("amount_test.csv")
df_employee = pd.read_csv("employee_test.csv")
df_amount = df_amount.reset_index().rename(columns={"index":"id"})
df_employee = df_employee.reset_index().rename(columns={"index":"id"})
print(df_amount)
print(df_employee)
df_merged = pd.merge(df_amount, df_employee, on='id')
#print(df_merged)
0