pd.read_csv separate spaces code example Example: pandas read from txt separtion data = pd.read_csv('fileName.txt', sep=" ", header=None)