文件并进入 Jupyter 笔记本,我收到错误 UTF-8

ile and into Jupiter notebook and I get error UTF-8

NameError: 名称 'pd' 未定义

UTF-8 是默认编码,但无法解码此数据集中的某些位置。 试试这个:

dataframe = pd.read_csv('File_name', encoding='latin')

相关信息在这里:http://python-notes.curiousefficiency.org/en/latest/python3/text_file_processing.html