The %page is what you are looking for:
In [1] e = somelargeoutpur() In [2]: %page e
And ipython will call your pager to display the ouput with your predefined pager
[e.blindauer@alice ~]$ echo $PAGER less
dimanche, juillet 19 2020. Lien permanent
You're using ipython to test some commands, but the output is too large for your terminal (or you are using mosh)?
There is some %magic available
The %page is what you are looking for:
In [1] e = somelargeoutpur() In [2]: %page e
And ipython will call your pager to display the ouput with your predefined pager
[e.blindauer@alice ~]$ echo $PAGER less