导入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)])
答案 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 版本将不支持该功能。 ,但它应该可以正常工作,除非屏幕截图中未显示其他错误。