Backport PR #39795 on branch 1.2.x (fix benchmark failure with numpy 1.20+)
Backport PR #39795: fix benchmark failure with numpy 1.20+
ImportError: cannot import name 'np_version_under1p20' from 'pandas.compat.numpy'

will fix up shortly The changes that caused the failure were added in #38379 which is on master, milestoned 1.3 and not on 1.2.x

this backport is not needed, so closing