I have the following .dat file
https://github.com/lukepolson/School/blob/master/Phys%20411/Assignment%205/JamesBay_temperature.dat
When I open it in pandas using
df_james = pd.read_csv('JamesBay_temperature.dat', sep=" ",
skiprows=[0,1,2], names=['Temperature'])
the values it contains are an array of arrays:
In [18]: df_james.values
Out[18]:
array([[ 4.89],
[ 4.89],
[ 4.89],
...,
[14.77],
[14.67],
[14.67]])
Why is pandas doing this? Is it something about the file I'm opening, or am I using pd.read_csv wrong?