DOC: documented that .apply(func) executes func twice on the first time

Related issues are #2656, #2936 and #6753.
Merge pull request #6756 from anton-d/master

DOC: documented that .apply(func) executes func twice on the first time