You need to indicate in a very visible way in the docstring that the input data is modified.