0

Sorry i had a lot of trouble explaining my problem in the title but i hope it will be more understandable with this example :

i have a data source that tells me that they are planning an expected quantity for some products for the 06th may, i am trying to work on a stock simulation update, and here is the output of the script when we add the expected receptions :

enter image description here

is it possible for me to make this expected quantity appears on the forecast date of the 5th may instead of the 6th ?

With this input :

expected_receptions_with_forecast_dates["wanted_delivery_date"] = expected_receptions_with_forecast_dates["wanted_delivery_date"] - dt.timedelta(days=1)

i managed to have this output :

enter image description here

i managed to have my data in the 5th of may but i would like to delete it from the 6th of may

Hope i was clear enough, thanks !

Hichhich
  • 17
  • 3
  • can you please provide your sample data as [DataFrame constructors](https://stackoverflow.com/questions/20109391/how-to-make-good-reproducible-pandas-examples)? – mozway May 06 '22 at 09:10

0 Answers0