Couple things: I'm guessing the coaches at Purdue coached him up on what he could and couldn't do to avoid fouls and stay on the court. He's coachable he listened.
In the NBA: #1 Referrees make examples of rookies. Edey will learn and adjust.
He'll figure it out.
And yes, who he is guarding is totally different.