How long does orders span

pandas · from Dates and times

pd.to_datetime.dt accessorDatetimeIndexpartial string indexingTimedelta

Putting the kettle on…

Starting up…

Exercise 4

How long does orders span? Return max - min of the parsed dates.

your answer
stuck? the lesson behind it
Dates and times
A date read from a file is a string, and strings sort in the wrong order.