码迷,mamicode.com
首页 > 编程语言 > 详细

Python Falling back to the 'python' engine because the 'c' engine does not support regex separators

时间:2017-01-24 16:07:27      阅读:1030      评论:0      收藏:0      [点我收藏+]

标签:ret   ade   使用   警告   diff   .com   style   name   pytho   

O‘Reilly出版的Wes McKinney编的《Python for Data Analysis》

本人使用工具: PyCharm 2016.3.2 

 

 警告:ParserWarning: Falling back to the ‘python‘ engine because the ‘c‘ engine does not support regex separators (separators > 1 char and different from ‘\s+‘ are interpreted as regex)

技术分享

 

解决方法:加上 engine=‘python‘

ratings = pd.read_table(‘data\ml-1m\\ratings.dat‘,sep=‘::‘,header=None,names=rnames,engine=‘python‘)

Python Falling back to the 'python' engine because the 'c' engine does not support regex separators

标签:ret   ade   使用   警告   diff   .com   style   name   pytho   

原文地址:http://www.cnblogs.com/kimbo/p/6347148.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!