栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

报错信息1

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

报错信息1

File "D:Anaconda3libsite-packagespandascoreindexesbase.py", line 3361, in get_loc
    return self._engine.get_loc(casted_key)

  File "pandas_libsindex.pyx", line 76, in pandas._libs.index.IndexEngine.get_loc

  File "pandas_libsindex.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc

  File "pandas_libshashtable_class_helper.pxi", line 5198, in pandas._libs.hashtable.PyObjectHashTable.get_item

  File "pandas_libshashtable_class_helper.pxi", line 5206, in pandas._libs.hashtable.PyObjectHashTable.get_item

KeyError: 'DataValue'


The above exception was the direct cause of the following exception:

Traceback (most recent call last):

  File "C:Usersw84233872DesktopUT_CC_20220110.py", line 23, in
    for k in range(int(len(df[df.columns[0]]["DataValue"])/count)):

  File "D:Anaconda3libsite-packagespandascoreseries.py", line 942, in __getitem__
    return self._get_value(key)

  File "D:Anaconda3libsite-packagespandascoreseries.py", line 1051, in _get_value
    loc = self.index.get_loc(label)

  File "D:Anaconda3libsite-packagespandascoreindexesbase.py", line 3363, in get_loc
    raise KeyError(key) from err

KeyError: 'DataValue'

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/701169.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号