I actually pasted a piece of the docstring (cut at the end to avoid a long sentence, might not be the right decision). Weighted mean means that you can take into account differently the effect of neighbors. This depends on the method, gaussian by default.