I came across this interesting r/statistics post here:
As of the time of writing (Feb 2023) the post is 5 years old, but it is disturbing and makes me thing twice about blindly using sklearn. The top voted comment points to an interesting email thread which led to the deprecation of a sklearn bootstrap method which as it turns out was not in fact a proper bootstrap. The devs removed the method because they were afraid people would use it without checking the code (which you should not have to do IMO) and assuming they were getting a bootstrap. As sklearn is community built as opposed to R which is often built by academic statisticians who will cite articles describing how to implement the code properly R may not be faster but it is more trustworthy. Personally I place a lot of importance on rigor of a model and I don't think simply rushing to RFs and neural nets should be done without trying more interpretable rigorous methods first. This post is from several years ago and I note that python now has the statsmodels module which has really nice documentation, but in playing with it I found there were cases where R had an implementation of something that python simply lacked. It's hard to do power analysis for instance in python, you have to scratch build code.