You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect the following to produce a DataFrame with 3 rows, 5 columns and no NaNs. Instead it produces 5 rows with the comment lines filled with NaNs. Pandas version 0.14.1.
In [2]: !cattest.txt# comment0123456789# comment1011121315In [3]: df=pd.read_table("test.txt", skipinitialspace=True,
...: names=["A", "B", "C", "D", "E"], delim_whitespace=True, comment="#")
In [4]: dfOut[4]:
ABCDE0NaNNaNNaNNaNNaN1012342567893NaNNaNNaNNaNNaN41011121315