... 1) #刪除日期欄位 mlist = [] for item in stock.index: #建立月份串列 mlist.append(item.month) stock['month'] = mlist #新增月份欄位 print(stock) ...
確定! 回上一頁