AttributeError: 'TimedeltaProperties' object has no ...
https://www.py4u.net/discuss/1383055TimedeltaProperties does not have year or month attributes because according to TimedeltaProperties source code.It is - Accessor object for datetimelike properties of the Series values. But , months or years have no constant definition. 1 month can take on different different number of days, based on the month itself, like January -> 31 days , April -> 30 days , etc.