Data Science, Jupyter Notebook, Python, Deep Dives, Tips And Tricks.
memory usage. An alternative approach is to be explicit about our mutations and keep all transformations to a given column in a single place: The previous example modifies the zeros column but in a different way: add_one_to_column takes a single column as an input and returns the mutated values.