pandas why is file read with NaNs? code example Example: pandas read from txt separtion data = pd.read_csv('fileName.txt', sep=" ", header=None)