• 环境

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)

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

 

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

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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2022-12-23
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
猜你喜欢
  • 2022-12-23
  • 2021-05-23
  • 2021-11-15
  • 2022-12-23
  • 2021-11-10
  • 2022-12-23
  • 2022-01-22
相关资源
相似解决方案