def lazy(self) -> "pypolars.lazy.LazyFrame": """ Start a lazy query from this point. This returns a `LazyFrame` object. Operations on a `LazyFrame` are not executed until this is requested by either calling: * `.fetch()` (run on a small number of rows) * `.collect()` (run on all data) * `.describe_plan()` (print unoptimized query plan) * `.describe_optimized_plan()` (print optimized query plan) * `.show_graph()` (show (un)optimized query plan) as graphiz graph. Lazy operations are advised because the allow for query optimization and more parallelization. """ from pypolars.lazy import wrap_ldf return wrap_ldf(self._df.lazy())
def lazy(self) -> "pypolars.lazy.LazyFrame": from pypolars.lazy import wrap_ldf return wrap_ldf(self._df.lazy())