freeze¶
-
Container.
freeze
()[source]¶ Freezes the container, so that changes are no longer possible.
This is required before you can extract data when deep_copy=True. The idea of deep_copy is to ensure that you can always retrace and reproduce your results. That is why the container needs to be immutable before it can be used.