想問下這個是什么原因

uj5u.com熱心網友回復:
錯誤沒發全excel檔案的路徑檢查了對嗎?
uj5u.com熱心網友回復:
Traceback (most recent call last):File "<ipython-input-3-b765de43f107>", line 1, in <module>
runfile('C:/Users/bohemianwcx/Desktop/01日報 (2).py', wdir='C:/Users/bohemianwcx/Desktop')
File "C:\Users\bohemianwcx\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 668, in runfile
execfile(filename, namespace)
File "C:\Users\bohemianwcx\Anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 108, in execfile
exec(compile(f.read(), filename, 'exec'), namespace)
File "C:/Users/bohemianwcx/Desktop/01日報 (2).py", line 392, in <module>
net_value=https://bbs.csdn.net/topics/float(amount_data[(amount_data.iloc[:,1]=='累計單位凈值:')].iloc[0,2])
File "C:\Users\bohemianwcx\Anaconda3\lib\site-packages\pandas\core\indexing.py", line 1472, in __getitem__
return self._getitem_tuple(key)
File "C:\Users\bohemianwcx\Anaconda3\lib\site-packages\pandas\core\indexing.py", line 2013, in _getitem_tuple
self._has_valid_tuple(tup)
File "C:\Users\bohemianwcx\Anaconda3\lib\site-packages\pandas\core\indexing.py", line 222, in _has_valid_tuple
self._validate_key(k, i)
File "C:\Users\bohemianwcx\Anaconda3\lib\site-packages\pandas\core\indexing.py", line 1957, in _validate_key
self._validate_integer(key, axis)
File "C:\Users\bohemianwcx\Anaconda3\lib\site-packages\pandas\core\indexing.py", line 2009, in _validate_integer
raise IndexError("single positional indexer is out-of-bounds")
IndexError: single positional indexer is out-of-bounds
uj5u.com熱心網友回復:
路徑對的,我把錯誤貼在下面啦轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/98043.html
