0

For example, considering the format day/month/year:

I want the day 01/01/2020 to be considered number 1, day 02/01/2020 number 2 and so on...

When the month changes, I want to continue the count, so 01/02/2020 would be number 32 and not number 1 again.

This way I would create a function to use with pandas apply function to create a new variable.

Anurag Dabas
  • 23,002
  • 8
  • 19
  • 34

0 Answers0