pd read txt field code example Example: load pandas dataframe with one row per line and 1 column no delimiter data = pd.read_csv('data.dat', sep='\s+', header=None)