Skip to content

Commit 3a265ef

Browse files
Koladata Teamcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 718778614 Change-Id: Ie28a5c563d2502c571870a08cae413367e30e302
1 parent 242e0da commit 3a265ef

File tree

1 file changed

+27
-21
lines changed

1 file changed

+27
-21
lines changed

docs/api_reference.md

Lines changed: 27 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ Returns:
968968
copied by reference.
969969
```
970970

971-
### `kd.core.stub(x, attrs=DataSlice([], schema: OBJECT, ndims: 1, size: 0))` {#kd.core.stub}
971+
### `kd.core.stub(x, attrs=DataSlice([], schema: NONE, ndims: 1, size: 0))` {#kd.core.stub}
972972
Aliases:
973973

974974
- [kd.stub](#kd.stub)
@@ -2263,6 +2263,25 @@ Operators working with lists.
22632263

22642264
**Operators**
22652265

2266+
### `kd.lists.appended_list(x, append)` {#kd.lists.appended_list}
2267+
Aliases:
2268+
2269+
- [kd.appended_list](#kd.appended_list)
2270+
2271+
``` {.no-copy}
2272+
Concatenates elements in `append` to the end of each list in `x`.
2273+
2274+
`x` and `append` should have compatible shapes, i.e. one can be broadcasted
2275+
to the other.
2276+
2277+
Args:
2278+
x: DataSlice of lists.
2279+
append: DataSlice of lists.
2280+
2281+
Returns:
2282+
DataSlice of lists with a in a new immutable Databag.
2283+
```
2284+
22662285
### `kd.lists.concat(*lists, db=None)` {#kd.lists.concat}
22672286
Aliases:
22682287

@@ -6955,6 +6974,10 @@ Alias for [kd.masking.all](#kd.masking.all) operator.
69556974

69566975
Alias for [kd.masking.any](#kd.masking.any) operator.
69576976

6977+
### `kd.appended_list(x, append)` {#kd.appended_list}
6978+
6979+
Alias for [kd.lists.appended_list](#kd.lists.appended_list) operator.
6980+
69586981
### `kd.apply_mask(x, y)` {#kd.apply_mask}
69596982

69606983
Alias for [kd.masking.apply_mask](#kd.masking.apply_mask) operator.
@@ -8019,7 +8042,7 @@ Alias for [kd.slices.stack](#kd.slices.stack) operator.
80198042

80208043
Alias for [kd.slices.str](#kd.slices.str) operator.
80218044

8022-
### `kd.stub(x, attrs=DataSlice([], schema: OBJECT, ndims: 1, size: 0))` {#kd.stub}
8045+
### `kd.stub(x, attrs=DataSlice([], schema: NONE, ndims: 1, size: 0))` {#kd.stub}
80238046

80248047
Alias for [kd.core.stub](#kd.core.stub) operator.
80258048

@@ -8705,7 +8728,7 @@ Args:
87058728
### `DataSlice.display(self, num_items=48, detail_width=None, detail_height=300)` {#DataSlice.display}
87068729

87078730
``` {.no-copy}
8708-
Visualizes a DataSlice as a html widget.
8731+
Visualizes a DataSlice as an html widget.
87098732
```
87108733

87118734
### `DataSlice.embed_schema()` {#DataSlice.embed_schema}
@@ -9167,29 +9190,12 @@ structure will contain DataItems.
91679190
Returns present iff this DataSlice is ANY Schema.
91689191
```
91699192

9170-
### `DataSlice.internal_is_compliant_attr_name` {#DataSlice.internal_is_compliant_attr_name}
9171-
9172-
``` {.no-copy}
9173-
Returns true iff `attr_name` can be accessed through `getattr(slice, attr_name)`.
9174-
```
9175-
91769193
### `DataSlice.internal_is_itemid_schema()` {#DataSlice.internal_is_itemid_schema}
91779194

91789195
``` {.no-copy}
91799196
Returns present iff this DataSlice is ITEMID Schema.
91809197
```
91819198

9182-
### `DataSlice.internal_register_reserved_class_method_name` {#DataSlice.internal_register_reserved_class_method_name}
9183-
9184-
``` {.no-copy}
9185-
Registers a name to be reserved as a method of the DataSlice class.
9186-
9187-
You must call this when adding new methods to the class in Python.
9188-
9189-
Args:
9190-
method_name: (str)
9191-
```
9192-
91939199
### `DataSlice.is_dict()` {#DataSlice.is_dict}
91949200

91959201
``` {.no-copy}
@@ -9534,7 +9540,7 @@ Returns:
95349540
copied by reference.
95359541
```
95369542

9537-
### `DataSlice.stub(self, attrs=DataSlice([], schema: OBJECT, ndims: 1, size: 0))` {#DataSlice.stub}
9543+
### `DataSlice.stub(self, attrs=DataSlice([], schema: NONE, ndims: 1, size: 0))` {#DataSlice.stub}
95389544

95399545
``` {.no-copy}
95409546
Copies a DataSlice's schema stub to a new DataBag.

0 commit comments

Comments
 (0)