python-3.x - fanyimpute 安装后,我在导入时遇到此错误
问题描述
fancyimpute
导入库时出错:
import os
import numpy as np
import pandas as pd
from fancyimpute import KNN
import seaborn as sns
import matplotlib.pyplot as plt
%matplotlib inline
我正面临这个错误:
Using Tensorflow backend.
C:\Users\userName\anaconda3\envs\py36\lib\site-packages\tensorflow\python\framework\dtypes.py:516:
FutureWarning: Passing(type, 1) or '1type' as a synonym of type is deprecated;
in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype(["qint8", np.int8, 1)])
解决方案
您所显示的只是FutureWarning
,这意味着某些库使用了 中的某些内容,在未来的版本tensorflow
中将不支持,但它应该可以正常工作,除非屏幕截图中没有显示其他错误。tensorflow
推荐阅读
- android - 无法在 android web 视图中加载网页
- c++ - 什么触发文件结束?
- c++ - 可以使用 Boost.Hana 将 std::array 解压缩到非类型模板参数包中吗?
- variables - 如何在 JMeter 的 JS223 预处理器或任何其他预处理器中进行数学计算
- javascript - 从 ASP.NET MVC for CanvasJS 图表中的视图对 JavaScript 的变量分配
- matlab - 为什么椒盐噪声 = 0 会改变图像?
- python - ValueError:[E088] 长度为 1027203 的文本超过最大值 1000000。spacy
- html - 如何调整列表样式图像的大小
- ionic-framework - 离子浏览器不起作用 sqlite / ionic serve 不起作用 googlemaps ...如何测试?
- php - 如何从php中给定的url变量生成jpeg图像文件