【项目开发】点击事件,报错event.returnValue is deprecated.

博客指出存在Chrome版本问题,提出换个浏览器即可解决该问题,聚焦于浏览器使用方面的信息技术问题。
Chrome 版本问题。换个浏览器皆可解决问题
C:\python\py\.venv\Scripts\python.exe C:\python\py\7.22.py === 因素筛选结果 === 心率: rpb=-0.00, P=0.97 血氧饱和度: rpb=-0.04, P=0.09 GCS评分: rpb=0.24, P=0.00 转运时长: rpb=0.09, P=0.00 镇静剂使用: rpb=-0.05, P=0.06 呼吸支持: rpb=0.04, P=0.12 年龄: rpb=-0.02, P=0.45 APACHE II评分: rpb=-0.04, P=0.11 === VIF共线性分析 === 特征 VIF值 0 心率 17.976832 1 血氧饱和度 42.486776 2 GCS评分 7.331784 3 转运时长 6.108660 4 镇静剂使用 2.009300 5 呼吸支持 2.615991 6 年龄 16.590947 7 APACHE II评分 3.918573 C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` C:\python\py\7.22.py:159: FutureWarning: Series.__getitem__ treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use `ser.iloc[pos]` === 显著直接关联(偏相关|r|>0.001) === 血氧饱和度 与 转运后不良事件: r=-0.050 GCS评分 与 转运后不良事件: r=0.240 转运时长 与 转运后不良事件: r=0.092 镇静剂使用 与 转运后不良事件: r=-0.057 呼吸支持 与 转运后不良事件: r=0.046 年龄 与 转运后不良事件: r=-0.024 APACHE II评分 与 转运后不良事件: r=-0.033 Traceback (most recent call last): File "C:\python\py\7.22.py", line 201, in <module> pos = nx.kamada_kawai_layout(G_sub, weight='weight') File "C:\python\py\.venv\Lib\site-packages\networkx\drawing\layout.py", line 942, in kamada_kawai_layout dist = dict(nx.shortest_path_length(G, weight=weight)) File "C:\python\py\.venv\Lib\site-packages\networkx\algorithms\shortest_paths\weighted.py", line 1083, in all_pairs_dijkstra_path_length yield (n, length(G, n, cutoff=cutoff, weight=weight)) ~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\python\py\.venv\Lib\site-packages\networkx\utils\decorators.py", line 784, in func return argmap._lazy_compile(__wrapper)(*args, **kwargs) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "<class 'networkx.utils.decorators.argmap'> compilation 12", line 3, in argmap_single_source_dijkstra_path_length_9 import gzip ^^^ File "C:\python\py\.venv\Lib\site-packages\networkx\utils\backends.py", line 535, in _call_if_no_backends_installed return self.orig_func(*args, **kwargs) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "C:\python\py\.venv\Lib\site-packages\networkx\algorithms\shortest_paths\weighted.py", line 389, in single_source_dijkstra_path_length return multi_source_dijkstra_path_length(G, {source}, cutoff=cutoff, weight=weight) File "C:\python\py\.venv\Lib\site-packages\networkx\utils\decorators.py", line 784, in func return argmap._lazy_compile(__wrapper)(*args, **kwargs) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "<class 'networkx.utils.decorators.argmap'> compilation 16", line 3, in argmap_multi_source_dijkstra_path_length_13 import gzip ^^^ File "C:\python\py\.venv\Lib\site-packages\networkx\utils\backends.py", line 535, in _call_if_no_backends_installed return self.orig_func(*args, **kwargs) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "C:\python\py\.venv\Lib\site-packages\networkx\algorithms\shortest_paths\weighted.py", line 647, in multi_source_dijkstra_path_length return _dijkstra_multisource(G, sources, weight, cutoff=cutoff) File "C:\python\py\.venv\Lib\site-packages\networkx\algorithms\shortest_paths\weighted.py", line 866, in _dijkstra_multisource raise ValueError("Contradictory paths found:", "negative weights?") ValueError: ('Contradictory paths found:', 'negative weights?') 进程已结束,退出代码为 1 结果根本没变啊
最新发布
07-24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值