I have a dataframe that looks like this:
n Date Area Rank
12 2007-03-02 Other 4.276250
24 2007-03-02 Other 4.512632
3 2007-03-02 Other 3.513571
36 2007-03-02 Other 4.514000
48 2007-03-02 Other 4.55000
I want to resample for values between the n interval, to ultimately interpolate the rank field once I have those values. If n were a datetime or similar object, I could just resample. How would I do that but with a float or int?
Output should be something like this (dummy numbers for Rank, just an example)
n Date Area Rank
3 2007-03-02 Other 3.513571
4 2007-03-02 Other 3.513675
5 2007-03-02 Other 3.524819
6 2007-03-02 Other 3.613427
7 2007-03-02 Other 3.685635
....
....