报错:UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xf6 in position 10: invalid start byte
解决方案:encoding=‘ISO-8859-1’
df_w = pd.read_table(
r'C:\Users\lab\Desktop\web_list_n.txt', encoding='ISO-8859-1', sep=',', header=None)
报错:UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xf6 in position 10: invalid start byte
解决方案:encoding=‘ISO-8859-1’
df_w = pd.read_table(
r'C:\Users\lab\Desktop\web_list_n.txt', encoding='ISO-8859-1', sep=',', header=None)