txt file to pandas code example Example: read txt file pandas df = pd.read_csv('output_list.txt', sep=" ", header=None, names=["a", "b", "c"])