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

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‘)

文章来自:http://www.cnblogs.com/kimbo/p/6347148.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3