brian831028

Results issues of brian831028

CSV檔案載點: https://www.twse.com.tw/exchangeReport/STOCK_DAY_AVG?response=csv&date=20200601&stockNo=1438 ![註解 2020-07-01 220424](https://user-images.githubusercontent.com/65228367/86253330-fbd2f480-bbe6-11ea-99c0-adb64cbf1f23.png) 老師我想把dataframe裡面的 -- 傳回上一格的數值的話要怎麼操作?

[https://www.twse.com.tw/exchangeReport/STOCK_DAY?response=csv&date=20200601&stockNo=1438](url) 老師這個CSV檔下載完之後讀取,他預設欄位只有一格....我想把第一列修改成欄位,想問一下要怎麼增加欄位 ![註解 2020-06-28 185033](https://user-images.githubusercontent.com/65228367/85945432-4e56ab80-b970-11ea-9c0a-dabb93edf477.png)

![Q2](https://user-images.githubusercontent.com/65228367/82429672-e5e9f400-9abe-11ea-9bf9-524ec0afa344.png)

![Q2](https://user-images.githubusercontent.com/65228367/81682092-35a93980-9487-11ea-8b73-a1879f1b05d6.png) 老師我在for in 裡面for的參數單純設一個i當作參數他跑不動,但我如果設XXX,XXX格式的參數的話,就跑得出東西,想請問一下這是什麼原理?@@