What about a copy paramter here that defaults to True. So you could have inplace modification ...