encoding read_csv
Try calling read_csv with encoding='latin1', encoding='iso-8859-1' or encoding='cp1252'
encoding read_csv
Try calling read_csv with encoding='latin1', encoding='iso-8859-1' or encoding='cp1252'
pandas read_csv multiple separator
my_cols = [str(i) for i in range(45)] # create some col names
df_user_key_word_org = pd.read_csv(filepath+"user_key_word.txt",
sep="s+|;|:",
names=my_cols,
header=None,
engine="python")
# I tested with s = StringIO(text_from_OP) on my computer
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us