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

pd.read_table('movies.dat', sep='::')

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); you can avoid this warning by specifying engine='python'.
return func(*args, **kwargs)

增加 engine='python'

pd.read_table('movies.dat', sep='::',engine='python')

 

posted @ 2021-08-26 17:58  OTAKU_nicole  阅读(1836)  评论(0编辑  收藏  举报