작성
·
257
답변 3
0
0
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