I'm getting errors from my input function:
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)
This is the ValueError
output that I receive:
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')
Could anyone suggest why I'm getting this error?