BUG: Fix ndarray + DataFrame ops by jbrockmendel · Pull Request #23114 · pandas-dev/pandas (original) (raw)
I'm not familiar with exactly how pandas implements binary ops, but this doesn't look like the right place to fix this.
The problem is likely in the DataFrame.__radd__
or DataFrame.__array_ufunc__
method (which NumPy calls instead of __radd__
if defined, see here for details and recommendations)