polars-df 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,33 @@
1
+ module Polars
2
+ class MetaExpr
3
+ attr_accessor :_rbexpr
4
+
5
+ def initialize(expr)
6
+ self._rbexpr = expr._rbexpr
7
+ end
8
+
9
+ def ==(other)
10
+ _rbexpr.meta_eq(other._rbexpr)
11
+ end
12
+
13
+ def !=(other)
14
+ !(self == other)
15
+ end
16
+
17
+ def pop
18
+ _rbexpr.meta_pop.map { |e| Utils.wrap_expr(e) }
19
+ end
20
+
21
+ def root_names
22
+ _rbexpr.meta_roots
23
+ end
24
+
25
+ def output_name
26
+ _rbexpr.meta_output_name
27
+ end
28
+
29
+ def undo_aliases
30
+ Utils.wrap_expr(_rbexpr.meta_undo_aliases)
31
+ end
32
+ end
33
+ end