Can someone please help me understand how to change the original df in my example? (link below). The function makes the changes that I want it to make however, I want it to update the original df that I input into the function. As seen in the code when I call df after the function it returns the original df and not the adjusted one from the function...
Any help greatly appreciated!