freeze¶
- DataFrame.freeze()[source]¶
Freezes the data frame.
After you have frozen the data frame, the data frame is immutable and in-place operations are no longer possible. However, you can still create views. In other words, operations like
set_role()
are not longer possible, but operations likewith_role()
are.