You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\Anaconda3\envs\metdig\lib\site-packages\meteva\base\io\read_stadata.py", line 773, in read_stadata_from_gds
sta.iloc[k,-1] = np.frombuffer(byteArray[ind1:(ind1 + element_len)],dtype=dtype_str)[0]
File "D:\Anaconda3\envs\metdig\lib\site-packages\pandas\core\indexing.py", line 723, in __setitem__
iloc._setitem_with_indexer(indexer, value, self.name)
File "D:\Anaconda3\envs\metdig\lib\site-packages\pandas\core\indexing.py", line 1730, in _setitem_with_indexer
self._setitem_with_indexer_split_path(indexer, value, name)
File "D:\Anaconda3\envs\metdig\lib\site-packages\pandas\core\indexing.py", line 1817, in _setitem_with_indexer_split_path
self._setitem_single_column(loc, value, pi)
File "D:\Anaconda3\envs\metdig\lib\site-packages\pandas\core\indexing.py", line 1920, in _setitem_single_column
ser._mgr = ser._mgr.setitem(indexer=(pi,), value=value)
File "D:\Anaconda3\envs\metdig\lib\site-packages\pandas\core\internals\managers.py", line 355, in setitem
return self.apply("setitem", indexer=indexer, value=value)
File "D:\Anaconda3\envs\metdig\lib\site-packages\pandas\core\internals\managers.py", line 327, in apply
applied = getattr(b, f)(**kwargs)
File "D:\Anaconda3\envs\metdig\lib\site-packages\pandas\core\internals\blocks.py", line 925, in setitem
if not self._can_hold_element(value):
File "D:\Anaconda3\envs\metdig\lib\site-packages\pandas\core\internals\blocks.py", line 621, in _can_hold_element
return can_hold_element(self.values, element)
File "D:\Anaconda3\envs\metdig\lib\site-packages\pandas\core\dtypes\cast.py", line 2197, in can_hold_element
if is_float(element) and element.is_integer():
AttributeError: 'numpy.float32' object has no attribute 'is_integer'
The text was updated successfully, but these errors were encountered:
当站点数少于25时,报错如下:
The text was updated successfully, but these errors were encountered: