Try to restart the Jupyter kernel.
Or, we can free this memory without needing to restart the kernel. See the following thread for more info.