Val ts year doy interpolat region_id
2000-02-18 NaN 950832000 2000 49 NaN 19987
2000-03-05 Na
The Val
columns will probably not have a numerical dtype for some reason, and all non-numerical (eg object
dtype) columns are removed in resample
.
To check, just look at df.info()
.
To convert it to a numerical columns, you can use astype(float)
or the convert_objects
(pd.to_numeric
starting from v0.17).