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

  • 环境

Anaconda3 Python 3.6, Window 64bit

  • 书籍

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

 警告: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('dataml-1m\ratings.dat',sep='::',header=None,names=rnames,engine='python')

-------> by kimbo_zhang
原文地址:https://www.cnblogs.com/kimbo/p/6347148.html