import pandas as pd import codecs df = pd.read_csv(filename, sep=' ', lineterminator=' ') # To increase robustness, optionnal. doc = codecs.open('document','rU','UTF-16') df = pd.read_csv(doc, sep=' ')