import pandas as pd
t1 = pd.DataFrame(
{
"data": ["01/01/2022", "02/01/2022", "03/01/2022", "04/01/2022"],
"A": ["A0", "A1", "A2", "A3"],
"B": ["B0", "B1", "B2", "B3"],
}
)
t2 = pd.DataFrame(
{
"data": ["01/01/2022", "02/01/2022", "03/01/2022", "04/01/2022"],
"C": ["C0", "C1", "C2", "C3"],
"D": ["D0", "D1", "D2", "D3"],
}
)
t3 = pd.DataFrame(
{
"data": ["01/01/2022", "02/01/2022", "03/01/2022", "04/01/2022"],
"E": ["E0", "E1", "E2", "E3"],
"F": ["F0", "F1", "F2", "F3"],
}
)
result = pd.merge([t1, t2, t3], on="data")
result
TypeError: merge() missing 1 required positional argument: 'right'