Pandas version checks
Location of the documentation
https://pandas.pydata.org/docs/reference/api/pandas.core.resample.Resampler.mean.html
Documentation problem
According to the comment, numba engine hasn't be implemented for resample.
However, the reference document says that they are supporting the numba engine.
Suggested fix for documentation
Please remove 'engine', 'engine_kwargs' in parameters section.