我想将此日期存储在另一个数据框中
我试过这个:
sbin['Date']
但它不工作
完整代码:
from datetime import date
import datetime
from nsepy import get_history
import pandas as pd
enddate = datetime.datetime.today()
startdate = enddate - datetime.timedelta(10)
sbin = get_history(symbol='SBIN',
start=startdate,
end=enddate)
print(type(sbin))
sbin