安装fanyimpute后,导入时我遇到此错误

时间:2020-03-25 10:58:34

标签: python-3.x fancyimpute

导入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)])

1 个答案:

答案 0 :(得分:0)

您所显示的只是SELECT * FROM vehicles v JOIN (SELECT va.*, ROW_NUMBER() OVER (PARTITION BY va.id ORDER BY va2.revision_id DESC) as seqnum FROM vehicles_aud va ) va ON va.id = v.id AND va.seqnum = 1 JOIN revisions r ON r.id = va.revision_id; ,这意味着某些库在FutureWarning中使用了某些内容,而tensorflow future 版本将不支持该功能。 ,但它应该可以正常工作,除非屏幕截图中未显示其他错误。