首页 > 编程语言 >ParserWarning: Falling back to the 'python' engine because the 'c' engine does n

ParserWarning: Falling back to the 'python' engine because the 'c' engine does n

时间:2022-10-23 20:01:41浏览次数:49  
标签:engine regex because python back separators

Python 3.9.10, Window 64bit

 

 

 警告: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')

 

 

转载于:https://www.cnblogs.com/kimbo/p/6347148.html

标签:engine,regex,because,python,back,separators
From: https://www.cnblogs.com/jiangsheng3/p/16819310.html

相关文章