An empirical proof is nice but a mathematical proof is better because you then understand what you're doing. In this case, a quick look at the formula on Wikipedia is enough to show that they can't be the same: for x >= 0, yeo.johnson(x, lambda=0) = log(x+1) != log(x)
• 1 views
•
link

I'm not sure, but I guess your question would be more appropriate on https://stats.stackexchange.com/
I think you're confusing it with the Box-Cox transformation. Look at the Wikipedia page on power transform to see the differences.