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