To get estimated prediction intervals for predictions made by a scikit-learn model, use MAPIE.
In the code above, we use MapieRegressor to estimate prediction intervals for a scikit-learn regressor.
MapieRegressor
Link to MAPIE.