polars.LazyFrame.clone
-
Create a copy of this LazyFrame.
This is a cheap operation that does not copy data.
See also
-
clear -
Create an empty copy of the current LazyFrame, with identical schema but no data.
Examples
>>> lf = pl.LazyFrame( ... { ... "a": [None, 2, 3, 4], ... "b": [0.5, None, 2.5, 13], ... "c": [True, True, False, None], ... } ... ) >>> lf.clone() <LazyFrame at ...> -
LazyFrame.clone() → LazyFrame
© 2020 Ritchie Vink
© 2022 Polars contributors
Licensed under the MIT License.
https://docs.pola.rs/api/python/stable/reference/lazyframe/api/polars.LazyFrame.clone.html