我的输入函数出现错误:
from nsepy import get_history
data1 = get_history(symbol='TATAMOTORS', start=date(2018,1,1),end=date(2018,6,7))
data2 = get_history(symbol='ALSEC', start=date(2018,1,1), end=date(2018,6,7))
data3=data1.join(data2)
print(data3)
这是ValueError
我收到的输出:
data3=data1.join(data2)
ValueError: columns overlap but no suffix specified:
Index(['Symbol', 'Series', 'Prev Close', 'Open', 'High', 'Low',
'Last','Close', 'VWAP', 'Volume','Turnover', 'Trades',
'Deliverable Volume','%Deliverble'],dtype='object')
谁能建议我为什么会收到此错误?