Reference a column of the dataset.
Stores only the fieldâs name. Type and other information is known only when the expression is bound to a dataset having an explicit scheme.
Nested references are allowed by passing multiple names or a tuple of names. For example ('foo', 'bar')
references the field named âbarâ inside the field named âfooâ.
str
, multiple
strings
, tuple
or int
The name or index of the (possibly nested) field the expression references to.
Expression
Reference to the given field
Examples
>>> import pyarrow.compute as pc >>> pc.field("a") <pyarrow.compute.Expression a> >>> pc.field(1) <pyarrow.compute.Expression FieldPath(1)> >>> pc.field(("a", "b")) <pyarrow.compute.Expression FieldRef.Nested(FieldRef.Name(a) ... >>> pc.field("a", "b") <pyarrow.compute.Expression FieldRef.Nested(FieldRef.Name(a) ...
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4