0
Order Date  Sales 
2014-01-06  2573.8200
2014-01-07  76.7280
2014-01-10  51.9400
2014-01-11  9.9400
2014-01-13  545.9400

I need to upsample sales_df for each day.

sales_df.resample('D', how='last').ffill() gives 

FutureWarning: how in .resample() is deprecated the new syntax is .resample(...).last()

Can someone give the correct syntax or the url of documentation?

Also need the syntax for pad and interpolate

anky
  • 74,114
  • 11
  • 41
  • 70
kakoli
  • 423
  • 4
  • 8
  • 18

0 Answers0