Pandas Snippets

Loading CSV file with unknowns sepparators:

csv_file = pd.read_csv('file.csv', sep = None, engine = 'python')

Problems

UnicodeEncodeError: ‘charmap’ codec can’t encode character

type in console:

chcp 65001