forked from pola-rs/polars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
struct.LazyFrame.html
240 lines (231 loc) · 81 KB
/
struct.LazyFrame.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Lazy abstraction over an eager `DataFrame`. It really is an abstraction over a logical plan. The methods of this struct will incrementally modify a logical plan until output is requested (via collect)"><meta name="keywords" content="rust, rustlang, rust-lang, LazyFrame"><title>polars_lazy::frame::LazyFrame - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><script src="../../crates.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
<link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
<link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu" role="button">☰</div><a href='../../polars_lazy/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Struct LazyFrame</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Methods</a><div class="sidebar-links"><a href="#method.cache">cache</a><a href="#method.collect">collect</a><a href="#method.describe_optimized_plan">describe_optimized_plan</a><a href="#method.describe_plan">describe_plan</a><a href="#method.drop_duplicates">drop_duplicates</a><a href="#method.drop_nulls">drop_nulls</a><a href="#method.explode">explode</a><a href="#method.fetch">fetch</a><a href="#method.fill_none">fill_none</a><a href="#method.filter">filter</a><a href="#method.first">first</a><a href="#method.groupby">groupby</a><a href="#method.inner_join">inner_join</a><a href="#method.join">join</a><a href="#method.last">last</a><a href="#method.left_join">left_join</a><a href="#method.limit">limit</a><a href="#method.map">map</a><a href="#method.max">max</a><a href="#method.mean">mean</a><a href="#method.median">median</a><a href="#method.melt">melt</a><a href="#method.min">min</a><a href="#method.new_from_parquet">new_from_parquet</a><a href="#method.optimize">optimize</a><a href="#method.outer_join">outer_join</a><a href="#method.quantile">quantile</a><a href="#method.reverse">reverse</a><a href="#method.select">select</a><a href="#method.shift">shift</a><a href="#method.shift_and_fill">shift_and_fill</a><a href="#method.slice">slice</a><a href="#method.sort">sort</a><a href="#method.sort_by_exprs">sort_by_exprs</a><a href="#method.std">std</a><a href="#method.sum">sum</a><a href="#method.tail">tail</a><a href="#method.to_dot">to_dot</a><a href="#method.var">var</a><a href="#method.with_aggregate_pushdown">with_aggregate_pushdown</a><a href="#method.with_column">with_column</a><a href="#method.with_column_renamed">with_column_renamed</a><a href="#method.with_columns">with_columns</a><a href="#method.with_join_pruning">with_join_pruning</a><a href="#method.with_predicate_pushdown">with_predicate_pushdown</a><a href="#method.with_projection_pushdown">with_projection_pushdown</a><a href="#method.with_simplify_expr">with_simplify_expr</a><a href="#method.with_string_cache">with_string_cache</a><a href="#method.with_type_coercion">with_type_coercion</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Default">Default</a><a href="#impl-From%3CLogicalPlan%3E">From<LogicalPlan></a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">!UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow<T></a><a href="#impl-BorrowMut%3CT%3E">BorrowMut<T></a><a href="#impl-Cast%3CU%3E">Cast<U></a><a href="#impl-From%3CT%3E">From<T></a><a href="#impl-FromCast%3CT%3E">FromCast<T></a><a href="#impl-Into%3CU%3E">Into<U></a><a href="#impl-Pointable">Pointable</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom<U></a><a href="#impl-TryInto%3CU%3E">TryInto<U></a><a href="#impl-VZip%3CV%3E">VZip<V></a></div></div><p class="location"><a href="../index.html">polars_lazy</a>::<wbr><a href="index.html">frame</a></p><div id="sidebar-vars" data-name="LazyFrame" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" height="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
<a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" height="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../index.html">polars_lazy</a>::<wbr><a href="index.html">frame</a>::<wbr><a class="struct" href="">LazyFrame</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">−</span>]</a></span><a class="srclink" href="../../src/polars_lazy/frame.rs.html#161-164" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust struct">pub struct LazyFrame { /* fields omitted */ }</pre></div><div class="docblock"><p>Lazy abstraction over an eager <code>DataFrame</code>.
It really is an abstraction over a logical plan. The methods of this struct will incrementally
modify a logical plan until output is requested (via <a href="../../polars_lazy/frame/struct.LazyFrame.html#method.collect">collect</a>)</p>
</div><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor"></a></h2><h3 id="impl" class="impl"><code class="in-band">impl <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a href="#impl" class="anchor"></a><a class="srclink" href="../../src/polars_lazy/frame.rs.html#217-988" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.new_from_parquet" class="method"><code>pub fn <a href="#method.new_from_parquet" class="fnname">new_from_parquet</a>(<br> path: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <br> stop_after_n_rows: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>>, <br> cache: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#220-226" title="goto source code">[src]</a></h4><div class="docblock"><p>Create a LazyFrame directly from a parquet scan.</p>
</div><h4 id="method.to_dot" class="method"><code>pub fn <a href="#method.to_dot" class="fnname">to_dot</a>(&self, optimized: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> <a class="type" href="../../polars_core/error/type.Result.html" title="type polars_core::error::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#229-245" title="goto source code">[src]</a></h4><div class="docblock"><p>Get a dot language representation of the LogicalPlan.</p>
</div><h4 id="method.with_projection_pushdown" class="method"><code>pub fn <a href="#method.with_projection_pushdown" class="fnname">with_projection_pushdown</a>(self, toggle: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#271-274" title="goto source code">[src]</a></h4><div class="docblock"><p>Toggle projection pushdown optimization.</p>
</div><h4 id="method.with_predicate_pushdown" class="method"><code>pub fn <a href="#method.with_predicate_pushdown" class="fnname">with_predicate_pushdown</a>(self, toggle: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#277-280" title="goto source code">[src]</a></h4><div class="docblock"><p>Toggle predicate pushdown optimization.</p>
</div><h4 id="method.with_type_coercion" class="method"><code>pub fn <a href="#method.with_type_coercion" class="fnname">with_type_coercion</a>(self, toggle: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#283-286" title="goto source code">[src]</a></h4><div class="docblock"><p>Toggle type coercion optimization.</p>
</div><h4 id="method.with_simplify_expr" class="method"><code>pub fn <a href="#method.with_simplify_expr" class="fnname">with_simplify_expr</a>(self, toggle: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#289-292" title="goto source code">[src]</a></h4><div class="docblock"><p>Toggle expression simplification optimization on or off</p>
</div><h4 id="method.with_aggregate_pushdown" class="method"><code>pub fn <a href="#method.with_aggregate_pushdown" class="fnname">with_aggregate_pushdown</a>(self, toggle: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#295-298" title="goto source code">[src]</a></h4><div class="docblock"><p>Toggle aggregate pushdown.</p>
</div><h4 id="method.with_string_cache" class="method"><code>pub fn <a href="#method.with_string_cache" class="fnname">with_string_cache</a>(self, toggle: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#301-304" title="goto source code">[src]</a></h4><div class="docblock"><p>Toggle global string cache.</p>
</div><h4 id="method.with_join_pruning" class="method"><code>pub fn <a href="#method.with_join_pruning" class="fnname">with_join_pruning</a>(self, toggle: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#307-310" title="goto source code">[src]</a></h4><div class="docblock"><p>Toggle join pruning optimization</p>
</div><h4 id="method.describe_plan" class="method"><code>pub fn <a href="#method.describe_plan" class="fnname">describe_plan</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#313-315" title="goto source code">[src]</a></h4><div class="docblock"><p>Describe the logical plan.</p>
</div><h4 id="method.describe_optimized_plan" class="method"><code>pub fn <a href="#method.describe_optimized_plan" class="fnname">describe_optimized_plan</a>(&self) -> <a class="type" href="../../polars_core/error/type.Result.html" title="type polars_core::error::Result">Result</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#318-324" title="goto source code">[src]</a></h4><div class="docblock"><p>Describe the optimized logical plan.</p>
</div><h4 id="method.sort" class="method"><code>pub fn <a href="#method.sort" class="fnname">sort</a>(self, by_column: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, reverse: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#340-347" title="goto source code">[src]</a></h4><div class="docblock"><p>Add a sort operation to the logical plan.</p>
<h1 id="example" class="section-header"><a href="#example">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="doccomment">/// Sort DataFrame by 'sepal.width' column</span>
<span class="kw">fn</span> <span class="ident">example</span>(<span class="ident">df</span>: <span class="ident">DataFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">df</span>.<span class="ident">lazy</span>()
.<span class="ident">sort</span>(<span class="string">"sepal.width"</span>, <span class="bool-val">false</span>)
}</pre></div>
</div><h4 id="method.sort_by_exprs" class="method"><code>pub fn <a href="#method.sort_by_exprs" class="fnname">sort_by_exprs</a>(self, by_exprs: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>>, reverse: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#363-367" title="goto source code">[src]</a></h4><div class="docblock"><p>Add a sort operation to the logical plan.</p>
<h1 id="example-1" class="section-header"><a href="#example-1">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="doccomment">/// Sort DataFrame by 'sepal.width' column</span>
<span class="kw">fn</span> <span class="ident">example</span>(<span class="ident">df</span>: <span class="ident">DataFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">df</span>.<span class="ident">lazy</span>()
.<span class="ident">sort_by_exprs</span>(<span class="macro">vec</span><span class="macro">!</span>[<span class="ident">col</span>(<span class="string">"sepal.width"</span>)], <span class="macro">vec</span><span class="macro">!</span>[<span class="bool-val">false</span>])
}</pre></div>
</div><h4 id="method.reverse" class="method"><code>pub fn <a href="#method.reverse" class="fnname">reverse</a>(self) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#382-384" title="goto source code">[src]</a></h4><div class="docblock"><p>Reverse the DataFrame</p>
<h1 id="example-2" class="section-header"><a href="#example-2">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">fn</span> <span class="ident">example</span>(<span class="ident">df</span>: <span class="ident">DataFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">df</span>.<span class="ident">lazy</span>()
.<span class="ident">reverse</span>()
}</pre></div>
</div><h4 id="method.with_column_renamed" class="method"><code>pub fn <a href="#method.with_column_renamed" class="fnname">with_column_renamed</a>(self, existing_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>, new_name: &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#387-403" title="goto source code">[src]</a></h4><div class="docblock"><p>Rename a column in the DataFrame</p>
</div><h4 id="method.shift" class="method"><code>pub fn <a href="#method.shift" class="fnname">shift</a>(self, periods: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#409-411" title="goto source code">[src]</a></h4><div class="docblock"><p>Shift the values by a given period and fill the parts that will be empty due to this operation
with <code>Nones</code>.</p>
<p>See the method on <a href="../../polars_core/series/trait.SeriesTrait.html#method.shift">Series</a> for more info on the <code>shift</code> operation.</p>
</div><h4 id="method.shift_and_fill" class="method"><code>pub fn <a href="#method.shift_and_fill" class="fnname">shift_and_fill</a>(self, periods: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, fill_value: <a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#417-419" title="goto source code">[src]</a></h4><div class="docblock"><p>Shift the values by a given period and fill the parts that will be empty due to this operation
with the result of the <code>fill_value</code> expression.</p>
<p>See the method on <a href="../../polars_core/series/trait.SeriesTrait.html#method.shift">Series</a> for more info on the <code>shift</code> operation.</p>
</div><h4 id="method.fill_none" class="method"><code>pub fn <a href="#method.fill_none" class="fnname">fill_none</a>(self, fill_value: <a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#422-426" title="goto source code">[src]</a></h4><div class="docblock"><p>Fill none values in the DataFrame</p>
</div><h4 id="method.cache" class="method"><code>pub fn <a href="#method.cache" class="fnname">cache</a>(self) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#430-434" title="goto source code">[src]</a></h4><div class="docblock"><p>Caches the result into a new LazyFrame. This should be used to prevent computations
running multiple times</p>
</div><h4 id="method.fetch" class="method"><code>pub fn <a href="#method.fetch" class="fnname">fetch</a>(self, n_rows: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="type" href="../../polars_core/error/type.Result.html" title="type polars_core::error::Result">Result</a><<a class="struct" href="../../polars_core/frame/struct.DataFrame.html" title="struct polars_core::frame::DataFrame">DataFrame</a>></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#442-447" title="goto source code">[src]</a></h4><div class="docblock"><p>Fetch is like a collect operation, but it overwrites the number of rows read by every scan
operation. This is a utility that helps debug a query on a smaller number of rows.</p>
<p>Note that the fetch does not guarantee the final number of rows in the DataFrame.
Filter, join operations and a lower number of rows available in the scanned file influence
the final number of rows.</p>
</div><h4 id="method.optimize" class="method"><code>pub fn <a href="#method.optimize" class="fnname">optimize</a>(<br> self, <br> lp_arena: &mut <a class="struct" href="../../polars_lazy/prelude/struct.Arena.html" title="struct polars_lazy::prelude::Arena">Arena</a><ALogicalPlan>, <br> expr_arena: &mut <a class="struct" href="../../polars_lazy/prelude/struct.Arena.html" title="struct polars_lazy::prelude::Arena">Arena</a><AExpr><br>) -> <a class="type" href="../../polars_core/error/type.Result.html" title="type polars_core::error::Result">Result</a><<a class="struct" href="../../polars_lazy/prelude/struct.Node.html" title="struct polars_lazy::prelude::Node">Node</a>></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#449-544" title="goto source code">[src]</a></h4><h4 id="method.collect" class="method"><code>pub fn <a href="#method.collect" class="fnname">collect</a>(self) -> <a class="type" href="../../polars_core/error/type.Result.html" title="type polars_core::error::Result">Result</a><<a class="struct" href="../../polars_core/frame/struct.DataFrame.html" title="struct polars_core::frame::DataFrame">DataFrame</a>></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#563-583" title="goto source code">[src]</a></h4><div class="docblock"><p>Execute all the lazy operations and collect them into a <a href="../../polars_core/frame/struct.DataFrame.html">DataFrame</a>.
Before execution the query is being optimized.</p>
<h1 id="example-3" class="section-header"><a href="#example-3">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">fn</span> <span class="ident">example</span>(<span class="ident">df</span>: <span class="ident">DataFrame</span>) <span class="op">-</span><span class="op">></span> <span class="prelude-ty">Result</span><span class="op"><</span><span class="ident">DataFrame</span><span class="op">></span> {
<span class="ident">df</span>.<span class="ident">lazy</span>()
.<span class="ident">groupby</span>(<span class="macro">vec</span><span class="macro">!</span>[<span class="ident">col</span>(<span class="string">"foo"</span>)])
.<span class="ident">agg</span>(<span class="macro">vec</span><span class="macro">!</span>(<span class="ident">col</span>(<span class="string">"bar"</span>).<span class="ident">sum</span>(),
<span class="ident">col</span>(<span class="string">"ham"</span>).<span class="ident">mean</span>().<span class="ident">alias</span>(<span class="string">"avg_ham"</span>)))
.<span class="ident">collect</span>()
}</pre></div>
</div><h4 id="method.filter" class="method"><code>pub fn <a href="#method.filter" class="fnname">filter</a>(self, predicate: <a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#599-603" title="goto source code">[src]</a></h4><div class="docblock"><p>Filter by some predicate expression.</p>
<h1 id="example-4" class="section-header"><a href="#example-4">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">fn</span> <span class="ident">example</span>(<span class="ident">df</span>: <span class="ident">DataFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">df</span>.<span class="ident">lazy</span>()
.<span class="ident">filter</span>(<span class="ident">col</span>(<span class="string">"sepal.width"</span>).<span class="ident">is_not_null</span>())
.<span class="ident">select</span>(<span class="kw-2">&</span>[<span class="ident">col</span>(<span class="string">"sepal.width"</span>), <span class="ident">col</span>(<span class="string">"sepal.length"</span>)])
}</pre></div>
</div><h4 id="method.select" class="method"><code>pub fn <a href="#method.select" class="fnname">select</a><E: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a><<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a><a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>>>(self, exprs: E) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#631-638" title="goto source code">[src]</a></h4><div class="docblock"><p>Select (and rename) columns from the query.</p>
<p>Columns can be selected with <a href="../../polars_lazy/dsl/fn.col.html">col</a>;
If you want to select all columns use <code>col("*")</code>.</p>
<h1 id="example-5" class="section-header"><a href="#example-5">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="doccomment">/// This function selects column "foo" and column "bar".</span>
<span class="doccomment">/// Column "bar" is renamed to "ham".</span>
<span class="kw">fn</span> <span class="ident">example</span>(<span class="ident">df</span>: <span class="ident">DataFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">df</span>.<span class="ident">lazy</span>()
.<span class="ident">select</span>(<span class="kw-2">&</span>[<span class="ident">col</span>(<span class="string">"foo"</span>),
<span class="ident">col</span>(<span class="string">"bar"</span>).<span class="ident">alias</span>(<span class="string">"ham"</span>)])
}
<span class="doccomment">/// This function selects all columns except "foo"</span>
<span class="kw">fn</span> <span class="ident">exclude_a_column</span>(<span class="ident">df</span>: <span class="ident">DataFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">df</span>.<span class="ident">lazy</span>()
.<span class="ident">select</span>(<span class="kw-2">&</span>[<span class="ident">col</span>(<span class="string">"*"</span>),
<span class="ident">except</span>(<span class="string">"foo"</span>)])
}</pre></div>
</div><h4 id="method.groupby" class="method"><code>pub fn <a href="#method.groupby" class="fnname">groupby</a>(self, by: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyGroupBy.html" title="struct polars_lazy::frame::LazyGroupBy">LazyGroupBy</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#667-674" title="goto source code">[src]</a></h4><div class="docblock"><p>Group by and aggregate.</p>
<h1 id="example-6" class="section-header"><a href="#example-6">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">fn</span> <span class="ident">example</span>(<span class="ident">df</span>: <span class="ident">DataFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">df</span>.<span class="ident">lazy</span>()
.<span class="ident">groupby</span>(<span class="macro">vec</span><span class="macro">!</span>[<span class="ident">col</span>(<span class="string">"date"</span>)])
.<span class="ident">agg</span>(<span class="macro">vec</span><span class="macro">!</span>[
<span class="ident">col</span>(<span class="string">"rain"</span>).<span class="ident">min</span>(),
<span class="ident">col</span>(<span class="string">"rain"</span>).<span class="ident">sum</span>(),
<span class="ident">col</span>(<span class="string">"rain"</span>).<span class="ident">quantile</span>(<span class="number">0.5</span>).<span class="ident">alias</span>(<span class="string">"median_rain"</span>),
])
.<span class="ident">sort</span>(<span class="string">"date"</span>, <span class="bool-val">false</span>)
}</pre></div>
</div><h4 id="method.left_join" class="method"><code>pub fn <a href="#method.left_join" class="fnname">left_join</a>(<br> self, <br> other: <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a>, <br> left_on: <a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>, <br> right_on: <a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>, <br> options: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../polars_lazy/frame/struct.JoinOptions.html" title="struct polars_lazy::frame::JoinOptions">JoinOptions</a>><br>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#688-702" title="goto source code">[src]</a></h4><div class="docblock"><p>Join query with other lazy query.</p>
<h1 id="example-7" class="section-header"><a href="#example-7">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">fn</span> <span class="ident">join_dataframes</span>(<span class="ident">ldf</span>: <span class="ident">LazyFrame</span>, <span class="ident">other</span>: <span class="ident">LazyFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">ldf</span>
.<span class="ident">left_join</span>(<span class="ident">other</span>, <span class="ident">col</span>(<span class="string">"foo"</span>), <span class="ident">col</span>(<span class="string">"bar"</span>), <span class="prelude-val">None</span>)
}</pre></div>
</div><h4 id="method.outer_join" class="method"><code>pub fn <a href="#method.outer_join" class="fnname">outer_join</a>(<br> self, <br> other: <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a>, <br> left_on: <a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>, <br> right_on: <a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>, <br> options: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../polars_lazy/frame/struct.JoinOptions.html" title="struct polars_lazy::frame::JoinOptions">JoinOptions</a>><br>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#716-730" title="goto source code">[src]</a></h4><div class="docblock"><p>Join query with other lazy query.</p>
<h1 id="example-8" class="section-header"><a href="#example-8">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">fn</span> <span class="ident">join_dataframes</span>(<span class="ident">ldf</span>: <span class="ident">LazyFrame</span>, <span class="ident">other</span>: <span class="ident">LazyFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">ldf</span>
.<span class="ident">outer_join</span>(<span class="ident">other</span>, <span class="ident">col</span>(<span class="string">"foo"</span>), <span class="ident">col</span>(<span class="string">"bar"</span>), <span class="prelude-val">None</span>)
}</pre></div>
</div><h4 id="method.inner_join" class="method"><code>pub fn <a href="#method.inner_join" class="fnname">inner_join</a>(<br> self, <br> other: <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a>, <br> left_on: <a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>, <br> right_on: <a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>, <br> options: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../polars_lazy/frame/struct.JoinOptions.html" title="struct polars_lazy::frame::JoinOptions">JoinOptions</a>><br>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#744-758" title="goto source code">[src]</a></h4><div class="docblock"><p>Join query with other lazy query.</p>
<h1 id="example-9" class="section-header"><a href="#example-9">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">fn</span> <span class="ident">join_dataframes</span>(<span class="ident">ldf</span>: <span class="ident">LazyFrame</span>, <span class="ident">other</span>: <span class="ident">LazyFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">ldf</span>
.<span class="ident">inner_join</span>(<span class="ident">other</span>, <span class="ident">col</span>(<span class="string">"foo"</span>), <span class="ident">col</span>(<span class="string">"bar"</span>).<span class="ident">cast</span>(<span class="ident">DataType</span>::<span class="ident">Utf8</span>), <span class="prelude-val">None</span>)
}</pre></div>
</div><h4 id="method.join" class="method"><code>pub fn <a href="#method.join" class="fnname">join</a>(<br> self, <br> other: <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a>, <br> left_on: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>>, <br> right_on: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>>, <br> options: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../polars_lazy/frame/struct.JoinOptions.html" title="struct polars_lazy::frame::JoinOptions">JoinOptions</a>>, <br> how: <a class="enum" href="../../polars_core/frame/hash_join/enum.JoinType.html" title="enum polars_core::frame::hash_join::JoinType">JoinType</a><br>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#773-795" title="goto source code">[src]</a></h4><div class="docblock"><p>Generic join function that can join on multiple columns.</p>
<h1 id="example-10" class="section-header"><a href="#example-10">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">fn</span> <span class="ident">example</span>(<span class="ident">ldf</span>: <span class="ident">LazyFrame</span>, <span class="ident">other</span>: <span class="ident">LazyFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">ldf</span>
.<span class="ident">join</span>(<span class="ident">other</span>, <span class="macro">vec</span><span class="macro">!</span>[<span class="ident">col</span>(<span class="string">"foo"</span>), <span class="ident">col</span>(<span class="string">"bar"</span>)], <span class="macro">vec</span><span class="macro">!</span>[<span class="ident">col</span>(<span class="string">"foo"</span>), <span class="ident">col</span>(<span class="string">"bar"</span>)], <span class="prelude-val">None</span>, <span class="ident">JoinType</span>::<span class="ident">Inner</span>)
}</pre></div>
</div><h4 id="method.with_column" class="method"><code>pub fn <a href="#method.with_column" class="fnname">with_column</a>(self, expr: <a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#814-818" title="goto source code">[src]</a></h4><div class="docblock"><p>Add a column to a DataFrame</p>
<h1 id="example-11" class="section-header"><a href="#example-11">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">fn</span> <span class="ident">add_column</span>(<span class="ident">df</span>: <span class="ident">DataFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">df</span>.<span class="ident">lazy</span>()
.<span class="ident">with_column</span>(
<span class="ident">when</span>(<span class="ident">col</span>(<span class="string">"sepal.length"</span>).<span class="ident">lt</span>(<span class="ident">lit</span>(<span class="number">5.0</span>)))
.<span class="ident">then</span>(<span class="ident">lit</span>(<span class="number">10</span>))
.<span class="ident">otherwise</span>(<span class="ident">lit</span>(<span class="number">1</span>))
.<span class="ident">alias</span>(<span class="string">"new_column_name"</span>),
)
}</pre></div>
</div><h4 id="method.with_columns" class="method"><code>pub fn <a href="#method.with_columns" class="fnname">with_columns</a>(self, exprs: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#834-838" title="goto source code">[src]</a></h4><div class="docblock"><p>Add multiple columns to a DataFrame.</p>
<h1 id="example-12" class="section-header"><a href="#example-12">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">use</span> <span class="ident">polars_core</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">use</span> <span class="ident">polars_lazy</span>::<span class="ident">prelude</span>::<span class="kw-2">*</span>;
<span class="kw">fn</span> <span class="ident">add_columns</span>(<span class="ident">df</span>: <span class="ident">DataFrame</span>) <span class="op">-</span><span class="op">></span> <span class="ident">LazyFrame</span> {
<span class="ident">df</span>.<span class="ident">lazy</span>()
.<span class="ident">with_columns</span>(
<span class="macro">vec</span><span class="macro">!</span>[<span class="ident">lit</span>(<span class="number">10</span>).<span class="ident">alias</span>(<span class="string">"foo"</span>), <span class="ident">lit</span>(<span class="number">100</span>).<span class="ident">alias</span>(<span class="string">"bar"</span>)]
)
}</pre></div>
</div><h4 id="method.max" class="method"><code>pub fn <a href="#method.max" class="fnname">max</a>(self) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#841-843" title="goto source code">[src]</a></h4><div class="docblock"><p>Aggregate all the columns as their maximum values.</p>
</div><h4 id="method.min" class="method"><code>pub fn <a href="#method.min" class="fnname">min</a>(self) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#846-848" title="goto source code">[src]</a></h4><div class="docblock"><p>Aggregate all the columns as their minimum values.</p>
</div><h4 id="method.sum" class="method"><code>pub fn <a href="#method.sum" class="fnname">sum</a>(self) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#851-853" title="goto source code">[src]</a></h4><div class="docblock"><p>Aggregate all the columns as their sum values.</p>
</div><h4 id="method.mean" class="method"><code>pub fn <a href="#method.mean" class="fnname">mean</a>(self) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#856-858" title="goto source code">[src]</a></h4><div class="docblock"><p>Aggregate all the columns as their mean values.</p>
</div><h4 id="method.median" class="method"><code>pub fn <a href="#method.median" class="fnname">median</a>(self) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#861-863" title="goto source code">[src]</a></h4><div class="docblock"><p>Aggregate all the columns as their median values.</p>
</div><h4 id="method.quantile" class="method"><code>pub fn <a href="#method.quantile" class="fnname">quantile</a>(self, quantile: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.f64.html">f64</a>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#866-868" title="goto source code">[src]</a></h4><div class="docblock"><p>Aggregate all the columns as their quantile values.</p>
</div><h4 id="method.std" class="method"><code>pub fn <a href="#method.std" class="fnname">std</a>(self) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#871-873" title="goto source code">[src]</a></h4><div class="docblock"><p>Aggregate all the columns as their standard deviation values.</p>
</div><h4 id="method.var" class="method"><code>pub fn <a href="#method.var" class="fnname">var</a>(self) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#876-878" title="goto source code">[src]</a></h4><div class="docblock"><p>Aggregate all the columns as their variance values.</p>
</div><h4 id="method.explode" class="method"><code>pub fn <a href="#method.explode" class="fnname">explode</a>(self, columns: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&[</a><a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#881-896" title="goto source code">[src]</a></h4><div class="docblock"><p>Apply explode operation. <a href="../../polars_core/frame/struct.DataFrame.html#method.explode">See eager explode</a>.</p>
</div><h4 id="method.drop_duplicates" class="method"><code>pub fn <a href="#method.drop_duplicates" class="fnname">drop_duplicates</a>(<br> self, <br> maintain_order: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a>, <br> subset: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>><br>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#899-906" title="goto source code">[src]</a></h4><div class="docblock"><p>Drop duplicate rows. <a href="../../polars_core/frame/struct.DataFrame.html#method.drop_duplicates">See eager</a>.</p>
</div><h4 id="method.drop_nulls" class="method"><code>pub fn <a href="#method.drop_nulls" class="fnname">drop_nulls</a>(self, subset: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="enum" href="../../polars_lazy/dsl/enum.Expr.html" title="enum polars_lazy::dsl::Expr">Expr</a>>>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#911-920" title="goto source code">[src]</a></h4><div class="docblock"><p>Drop null rows.</p>
<p>Equal to <code>LazyFrame::filter(col("*").is_not_null())</code></p>
</div><h4 id="method.slice" class="method"><code>pub fn <a href="#method.slice" class="fnname">slice</a>(self, offset: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.i64.html">i64</a>, len: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#923-927" title="goto source code">[src]</a></h4><div class="docblock"><p>Slice the DataFrame.</p>
</div><h4 id="method.first" class="method"><code>pub fn <a href="#method.first" class="fnname">first</a>(self) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#930-932" title="goto source code">[src]</a></h4><div class="docblock"><p>Get the first row.</p>
</div><h4 id="method.last" class="method"><code>pub fn <a href="#method.last" class="fnname">last</a>(self) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#935-937" title="goto source code">[src]</a></h4><div class="docblock"><p>Get the last row</p>
</div><h4 id="method.tail" class="method"><code>pub fn <a href="#method.tail" class="fnname">tail</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#940-943" title="goto source code">[src]</a></h4><div class="docblock"><p>Get the n last rows</p>
</div><h4 id="method.melt" class="method"><code>pub fn <a href="#method.melt" class="fnname">melt</a>(self, id_vars: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>, value_vars: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a><<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#946-953" title="goto source code">[src]</a></h4><div class="docblock"><p>Melt the DataFrame from wide to long format</p>
</div><h4 id="method.limit" class="method"><code>pub fn <a href="#method.limit" class="fnname">limit</a>(self, n: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#957-959" title="goto source code">[src]</a></h4><div class="docblock"><p>Limit the DataFrame to the first <code>n</code> rows. Note if you don’t want the rows to be scanned,
use <a href="../../polars_lazy/frame/struct.LazyFrame.html#method.fetch">fetch</a>.</p>
</div><h4 id="method.map" class="method"><code>pub fn <a href="#method.map" class="fnname">map</a><F>(<br> self, <br> function: F, <br> optimizations: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="type" href="../../polars_lazy/frame/type.AllowedOptimizations.html" title="type polars_lazy::frame::AllowedOptimizations">AllowedOptimizations</a>>, <br> schema: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a><<a class="struct" href="../../polars_core/datatypes/struct.Schema.html" title="struct polars_core::datatypes::Schema">Schema</a>><br>) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a> <span class="where fmt-newline">where<br> F: <a class="trait" href="../../polars_lazy/logical_plan/trait.DataFrameUdf.html" title="trait polars_lazy::logical_plan::DataFrameUdf">DataFrameUdf</a> + 'static, </span></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#968-987" title="goto source code">[src]</a></h4><div class="docblock"><p>Apply a function/closure once the logical plan get executed.</p>
<h2 id="warning" class="section-header"><a href="#warning">Warning</a></h2>
<p>This can blow up in your face if the schema is changed due to the operation. The optimizer
relies on a correct schema.</p>
<p>You can toggle certain optimizations off.</p>
</div></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Clone" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a href="#impl-Clone" class="anchor"></a><a class="srclink" href="../../src/polars_lazy/frame.rs.html#160" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.clone" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone" class="fnname">clone</a>(&self) -> <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#160" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id="method.clone_from" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from" class="fnname">clone_from</a>(&mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>Self)</code><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/clone.rs.html#130" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id="impl-Default" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html" title="trait core::default::Default">Default</a> for <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a href="#impl-Default" class="anchor"></a><a class="srclink" href="../../src/polars_lazy/frame.rs.html#166-173" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.default" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default" class="fnname">default</a>() -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#167-172" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Returns the “default value” for a type. <a href="https://doc.rust-lang.org/nightly/core/default/trait.Default.html#tymethod.default">Read more</a></p>
</div></div><h3 id="impl-From%3CLogicalPlan%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><<a class="enum" href="../../polars_lazy/logical_plan/enum.LogicalPlan.html" title="enum polars_lazy::logical_plan::LogicalPlan">LogicalPlan</a>> for <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a href="#impl-From%3CLogicalPlan%3E" class="anchor"></a><a class="srclink" href="../../src/polars_lazy/frame.rs.html#175-182" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(plan: <a class="enum" href="../../polars_lazy/logical_plan/enum.LogicalPlan.html" title="enum polars_lazy::logical_plan::LogicalPlan">LogicalPlan</a>) -> Self</code><a class="srclink" href="../../src/polars_lazy/frame.rs.html#176-181" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><h3 id="impl-RefUnwindSafe" class="impl"><code class="in-band">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a href="#impl-RefUnwindSafe" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Send" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a href="#impl-Send" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Sync" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a href="#impl-Sync" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Unpin" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a href="#impl-Unpin" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-UnwindSafe" class="impl"><code class="in-band">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../polars_lazy/frame/struct.LazyFrame.html" title="struct polars_lazy::frame::LazyFrame">LazyFrame</a></code><a href="#impl-UnwindSafe" class="anchor"></a></h3><div class="impl-items"></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><h3 id="impl-Any" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br> T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.type_id" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3 id="impl-Borrow%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-Borrow%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208-213" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&</a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#210" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3 id="impl-BorrowMut%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a><T> for T <span class="where fmt-newline">where<br> T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>, </span></code><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#216-220" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow_mut" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&mut self) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#217" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3 id="impl-Cast%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="../../packed_simd_2/api/cast/trait.Cast.html" title="trait packed_simd_2::api::cast::Cast">Cast</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="../../packed_simd_2/api/cast/trait.FromCast.html" title="trait packed_simd_2::api::cast::FromCast">FromCast</a><T>, </span></code><a href="#impl-Cast%3CU%3E" class="anchor"></a><a class="srclink" href="../../src/packed_simd_2/api/cast.rs.html#71-79" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.cast" class="method hidden"><code>pub fn <a href="../../packed_simd_2/api/cast/trait.Cast.html#tymethod.cast" class="fnname">cast</a>(self) -> U</code><a class="srclink" href="../../src/packed_simd_2/api/cast.rs.html#76" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Numeric cast from <code>self</code> to <code>T</code>.</p>
</div></div><h3 id="impl-From%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T> for T</code><a href="#impl-From%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#544-548" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-1" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(t: T) -> T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#545" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id="impl-FromCast%3CT%3E" class="impl"><code class="in-band">impl<T> <a class="trait" href="../../packed_simd_2/api/cast/trait.FromCast.html" title="trait packed_simd_2::api::cast::FromCast">FromCast</a><T> for T</code><a href="#impl-FromCast%3CT%3E" class="anchor"></a><a class="srclink" href="../../src/packed_simd_2/api/cast.rs.html#82-87" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from_cast" class="method hidden"><code>pub fn <a href="../../packed_simd_2/api/cast/trait.FromCast.html#tymethod.from_cast" class="fnname">from_cast</a>(t: T) -> T</code><a class="srclink" href="../../src/packed_simd_2/api/cast.rs.html#84" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Numeric cast from <code>T</code> to <code>Self</code>.</p>
</div></div><h3 id="impl-Into%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a><T>, </span></code><a href="#impl-Into%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#533-540" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.into" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fnname">into</a>(self) -> U</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#537" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id="impl-Pointable" class="impl"><code class="in-band">impl<T> <a class="trait" href="../../crossbeam_epoch/atomic/trait.Pointable.html" title="trait crossbeam_epoch::atomic::Pointable">Pointable</a> for T</code><a href="#impl-Pointable" class="anchor"></a><a class="srclink" href="../../src/crossbeam_epoch/atomic.rs.html#194-214" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedconstant.ALIGN" class="associatedconstant hidden"><code>pub const <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#associatedconstant.ALIGN" class="constant"><b>ALIGN</b></a>: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class="srclink" href="../../src/crossbeam_epoch/atomic.rs.html#195" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>The alignment of pointer.</p>
</div><h4 id="associatedtype.Init" class="type"><code>type <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#associatedtype.Init" class="type">Init</a> = T</code></h4><div class='docblock'><p>The type for initializers.</p>
</div><h4 id="method.init" class="method hidden"><code>pub unsafe fn <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.init" class="fnname">init</a>(init: <T as <a class="trait" href="../../crossbeam_epoch/atomic/trait.Pointable.html" title="trait crossbeam_epoch::atomic::Pointable">Pointable</a>>::<a class="type" href="../../crossbeam_epoch/atomic/trait.Pointable.html#associatedtype.Init" title="type crossbeam_epoch::atomic::Pointable::Init">Init</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a></code><a class="srclink" href="../../src/crossbeam_epoch/atomic.rs.html#199" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Initializes a with the given initializer. <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.init">Read more</a></p>
</div><h4 id="method.deref" class="method hidden"><code>pub unsafe fn <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.deref" class="fnname">deref</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a </a>T</code><a class="srclink" href="../../src/crossbeam_epoch/atomic.rs.html#203" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Dereferences the given pointer. <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.deref">Read more</a></p>
</div><h4 id="method.deref_mut" class="method hidden"><code>pub unsafe fn <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.deref_mut" class="fnname">deref_mut</a><'a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -> <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&'a mut </a>T</code><a class="srclink" href="../../src/crossbeam_epoch/atomic.rs.html#207" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Mutably dereferences the given pointer. <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.deref_mut">Read more</a></p>
</div><h4 id="method.drop" class="method hidden"><code>pub unsafe fn <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.drop" class="fnname">drop</a>(ptr: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>)</code><a class="srclink" href="../../src/crossbeam_epoch/atomic.rs.html#211" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Drops the object pointed to by the given pointer. <a href="../../crossbeam_epoch/atomic/trait.Pointable.html#tymethod.drop">Read more</a></p>
</div></div><h3 id="impl-ToOwned" class="impl"><code class="in-band">impl<T> <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br> T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>, </span></code><a href="#impl-ToOwned" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-93" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Owned" class="type"><code>type <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id="method.to_owned" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class="fnname">to_owned</a>(&self) -> T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#86" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id="method.clone_into" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into" class="fnname">clone_into</a>(&self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&mut </a>T)</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#90" title="goto source code">[src]</a></h4><div class="item-info hidden"><div class="stab unstable"><details><summary><span class="emoji">🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3 id="impl-TryFrom%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a><T>, </span></code><a href="#impl-TryFrom%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#581-590" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Error" class="type"><code>type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id="method.try_from" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from" class="fnname">try_from</a>(value: U) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><T, <T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><U>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#587" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id="impl-TryInto%3CU%3E" class="impl"><code class="in-band">impl<T, U> <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a><U> for T <span class="where fmt-newline">where<br> U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>, </span></code><a href="#impl-TryInto%3CU%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#567-576" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Error-1" class="type"><code>type <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error" class="type">Error</a> = <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id="method.try_into" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into" class="fnname">try_into</a>(self) -> <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a><U, <U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a><T>>::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#573" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id="impl-VZip%3CV%3E" class="impl"><code class="in-band">impl<V, T> <a class="trait" href="../../ppv_lite86/types/trait.VZip.html" title="trait ppv_lite86::types::VZip">VZip</a><V> for T <span class="where fmt-newline">where<br> V: <a class="trait" href="../../ppv_lite86/types/trait.MultiLane.html" title="trait ppv_lite86::types::MultiLane">MultiLane</a><T>, </span></code><a href="#impl-VZip%3CV%3E" class="anchor"></a><a class="srclink" href="../../src/ppv_lite86/types.rs.html#211-219" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.vzip" class="method hidden"><code>pub fn <a href="../../ppv_lite86/types/trait.VZip.html#tymethod.vzip" class="fnname">vzip</a>(self) -> V</code><a class="srclink" href="../../src/ppv_lite86/types.rs.html#216" title="goto source code">[src]</a></h4></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="polars_lazy" data-search-js="../../search-index.js"></div>
<script src="../../main.js"></script></body></html>