我正在尝试使用Jupyter Noteebook Python 3.x加载数据,但是我收到了一个错误。我用R加载了相同的数据,没问题。
阅读下面的csv命令;
reputation_data = pd.read_csv(" C:/ Users / Seckin / Documents / Assignment / Data / reputation_data",sep ="#",header = None,index_col = False )
数据样本;
79.146.219.54#1#2#恶意主机#ES#Madrid#40.4165000916,-3.70260000229#3 79.22.246.22#1#3#恶意主机#IT#Bertinoro#44.1487007141,12.1365003586#3 80.14.238.210#4#3#恶意主机### 44.1487007141,12.1365003586#3
错误; C:\ Users \ Seckin \ Anaconda3 \ lib \ site-packages \ IPython \ core \ interactiveshell.py:2698:DtypeWarning:Columns(7)具有混合类型。在导入时指定dtype选项或设置low_memory = False。 interactivetivity = interactivity,compiler = compiler,result = result)