My guess would be that engineers first go to documentation, don't understand it, go to low-quality-content-farms which answer their questions in natural language. It's low quality but it's enough for novice use cases such as python endsWith.
And this leads to a big reduction in Google's ranking of python docs.
TLDR : most novice programmers don't/can't read docs.