It seems type annotations are wrong between a Timestamp series and tools offered by the offsets library, using pyright
df["year_end"] = df["date"] + pd.tseries.offsets.YearEnd(0) is flagged with Operator "+" not supported for types "TimestampSeries" and "YearEnd"
- OS: MacOS
- OS Version 13.5
- python 3.9.19
- pylance version v2024.7.1