|
10 | 10 | class StreamingDataFrame(BaseStreaming)
|
11 | 11 | ```
|
12 | 12 |
|
13 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L63) |
| 13 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L63) |
14 | 14 |
|
15 | 15 | `StreamingDataFrame` is the main object you will use for ETL work.
|
16 | 16 |
|
@@ -81,7 +81,7 @@ def apply(func: Union[
|
81 | 81 | metadata: bool = False) -> Self
|
82 | 82 | ```
|
83 | 83 |
|
84 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L178) |
| 84 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L178) |
85 | 85 |
|
86 | 86 | Apply a function to transform the value and return a new value.
|
87 | 87 |
|
@@ -139,7 +139,7 @@ def update(func: Union[
|
139 | 139 | metadata: bool = False) -> Self
|
140 | 140 | ```
|
141 | 141 |
|
142 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L267) |
| 142 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L267) |
143 | 143 |
|
144 | 144 | Apply a function to mutate value in-place or to perform a side effect
|
145 | 145 |
|
@@ -207,7 +207,7 @@ def filter(func: Union[
|
207 | 207 | metadata: bool = False) -> Self
|
208 | 208 | ```
|
209 | 209 |
|
210 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L359) |
| 210 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L359) |
211 | 211 |
|
212 | 212 | Filter value using provided function.
|
213 | 213 |
|
@@ -259,7 +259,7 @@ def group_by(key: Union[str, Callable[[Any], Any]],
|
259 | 259 | key_serializer: Optional[SerializerType] = "json") -> Self
|
260 | 260 | ```
|
261 | 261 |
|
262 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L445) |
| 262 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L445) |
263 | 263 |
|
264 | 264 | "Groups" messages by re-keying them via the provided group_by operation
|
265 | 265 |
|
@@ -324,7 +324,7 @@ a clone with this operation added (assign to keep its effect).
|
324 | 324 | def contains(key: str) -> StreamingSeries
|
325 | 325 | ```
|
326 | 326 |
|
327 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L523) |
| 327 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L523) |
328 | 328 |
|
329 | 329 | Check if the key is present in the Row value.
|
330 | 330 |
|
@@ -363,7 +363,7 @@ or False otherwise.
|
363 | 363 | def to_topic(topic: Topic, key: Optional[Callable[[Any], Any]] = None) -> Self
|
364 | 364 | ```
|
365 | 365 |
|
366 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L548) |
| 366 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L548) |
367 | 367 |
|
368 | 368 | Produce current value to a topic. You can optionally specify a new key.
|
369 | 369 |
|
@@ -416,7 +416,7 @@ the updated StreamingDataFrame instance (reassignment NOT required).
|
416 | 416 | def set_timestamp(func: Callable[[Any, Any, int, Any], int]) -> Self
|
417 | 417 | ```
|
418 | 418 |
|
419 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L593) |
| 419 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L593) |
420 | 420 |
|
421 | 421 | Set a new timestamp based on the current message value and its metadata.
|
422 | 422 |
|
@@ -469,7 +469,7 @@ def set_headers(
|
469 | 469 | ) -> Self
|
470 | 470 | ```
|
471 | 471 |
|
472 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L634) |
| 472 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L634) |
473 | 473 |
|
474 | 474 | Set new message headers based on the current message value and metadata.
|
475 | 475 |
|
@@ -518,7 +518,7 @@ a new StreamingDataFrame instance
|
518 | 518 | def print(pretty: bool = True, metadata: bool = False) -> Self
|
519 | 519 | ```
|
520 | 520 |
|
521 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L685) |
| 521 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L685) |
522 | 522 |
|
523 | 523 | Print out the current message value (and optionally, the message metadata) to
|
524 | 524 |
|
@@ -574,7 +574,7 @@ def compose(
|
574 | 574 | ) -> Dict[str, VoidExecutor]
|
575 | 575 | ```
|
576 | 576 |
|
577 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L727) |
| 577 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L727) |
578 | 578 |
|
579 | 579 | Compose all functions of this StreamingDataFrame into one big closure.
|
580 | 580 |
|
@@ -628,7 +628,7 @@ def test(value: Any,
|
628 | 628 | topic: Optional[Topic] = None) -> List[Any]
|
629 | 629 | ```
|
630 | 630 |
|
631 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L764) |
| 631 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L764) |
632 | 632 |
|
633 | 633 | A shorthand to test `StreamingDataFrame` with provided value
|
634 | 634 |
|
@@ -665,7 +665,7 @@ def tumbling_window(duration_ms: Union[int, timedelta],
|
665 | 665 | name: Optional[str] = None) -> TumblingWindowDefinition
|
666 | 666 | ```
|
667 | 667 |
|
668 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L801) |
| 668 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L801) |
669 | 669 |
|
670 | 670 | Create a tumbling window transformation on this StreamingDataFrame.
|
671 | 671 |
|
@@ -751,7 +751,7 @@ def hopping_window(duration_ms: Union[int, timedelta],
|
751 | 751 | name: Optional[str] = None) -> HoppingWindowDefinition
|
752 | 752 | ```
|
753 | 753 |
|
754 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L877) |
| 754 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L877) |
755 | 755 |
|
756 | 756 | Create a hopping window transformation on this StreamingDataFrame.
|
757 | 757 |
|
@@ -843,7 +843,7 @@ sdf = (
|
843 | 843 | def drop(columns: Union[str, List[str]]) -> Self
|
844 | 844 | ```
|
845 | 845 |
|
846 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/dataframe.py#L969) |
| 846 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/dataframe.py#L969) |
847 | 847 |
|
848 | 848 | Drop column(s) from the message value (value must support `del`, like a dict).
|
849 | 849 |
|
@@ -887,7 +887,7 @@ a new StreamingDataFrame instance
|
887 | 887 | class StreamingSeries(BaseStreaming)
|
888 | 888 | ```
|
889 | 889 |
|
890 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L47) |
| 890 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L47) |
891 | 891 |
|
892 | 892 | `StreamingSeries` are typically generated by `StreamingDataframes` when getting
|
893 | 893 | elements from, or performing certain operations on, a `StreamingDataframe`,
|
@@ -953,7 +953,7 @@ sdf = sdf[["column_a"] & (sdf["new_sum_field"] >= 10)]
|
953 | 953 | def from_apply_callback(cls, func: ApplyWithMetadataCallback) -> Self
|
954 | 954 | ```
|
955 | 955 |
|
956 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L107) |
| 956 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L107) |
957 | 957 |
|
958 | 958 | Create a StreamingSeries from a function.
|
959 | 959 |
|
@@ -981,7 +981,7 @@ instance of `StreamingSeries`
|
981 | 981 | def apply(func: ApplyCallback) -> Self
|
982 | 982 | ```
|
983 | 983 |
|
984 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L121) |
| 984 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L121) |
985 | 985 |
|
986 | 986 | Add a callable to the execution list for this series.
|
987 | 987 |
|
@@ -1033,7 +1033,7 @@ a new `StreamingSeries` with the new callable added
|
1033 | 1033 | def compose_returning() -> ReturningExecutor
|
1034 | 1034 | ```
|
1035 | 1035 |
|
1036 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L155) |
| 1036 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L155) |
1037 | 1037 |
|
1038 | 1038 | Compose a list of functions from this StreamingSeries and its parents into one
|
1039 | 1039 |
|
@@ -1064,7 +1064,7 @@ def compose(
|
1064 | 1064 | None]] = None) -> VoidExecutor
|
1065 | 1065 | ```
|
1066 | 1066 |
|
1067 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L170) |
| 1067 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L170) |
1068 | 1068 |
|
1069 | 1069 | Compose all functions of this StreamingSeries into one big closure.
|
1070 | 1070 |
|
@@ -1122,7 +1122,7 @@ def test(value: Any,
|
1122 | 1122 | ctx: Optional[MessageContext] = None) -> Any
|
1123 | 1123 | ```
|
1124 | 1124 |
|
1125 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L214) |
| 1125 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L214) |
1126 | 1126 |
|
1127 | 1127 | A shorthand to test `StreamingSeries` with provided value
|
1128 | 1128 |
|
@@ -1154,7 +1154,7 @@ result of `StreamingSeries`
|
1154 | 1154 | def isin(other: Container) -> Self
|
1155 | 1155 | ```
|
1156 | 1156 |
|
1157 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L269) |
| 1157 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L269) |
1158 | 1158 |
|
1159 | 1159 | Check if series value is in "other".
|
1160 | 1160 |
|
@@ -1199,7 +1199,7 @@ new StreamingSeries
|
1199 | 1199 | def contains(other: Union[Self, object]) -> Self
|
1200 | 1200 | ```
|
1201 | 1201 |
|
1202 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L296) |
| 1202 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L296) |
1203 | 1203 |
|
1204 | 1204 | Check if series value contains "other"
|
1205 | 1205 |
|
@@ -1244,7 +1244,7 @@ new StreamingSeries
|
1244 | 1244 | def is_(other: Union[Self, object]) -> Self
|
1245 | 1245 | ```
|
1246 | 1246 |
|
1247 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L321) |
| 1247 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L321) |
1248 | 1248 |
|
1249 | 1249 | Check if series value refers to the same object as `other`
|
1250 | 1250 |
|
@@ -1286,7 +1286,7 @@ new StreamingSeries
|
1286 | 1286 | def isnot(other: Union[Self, object]) -> Self
|
1287 | 1287 | ```
|
1288 | 1288 |
|
1289 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L344) |
| 1289 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L344) |
1290 | 1290 |
|
1291 | 1291 | Check if series value does not refer to the same object as `other`
|
1292 | 1292 |
|
@@ -1329,7 +1329,7 @@ new StreamingSeries
|
1329 | 1329 | def isnull() -> Self
|
1330 | 1330 | ```
|
1331 | 1331 |
|
1332 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L368) |
| 1332 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L368) |
1333 | 1333 |
|
1334 | 1334 | Check if series value is None.
|
1335 | 1335 |
|
@@ -1366,7 +1366,7 @@ new StreamingSeries
|
1366 | 1366 | def notnull() -> Self
|
1367 | 1367 | ```
|
1368 | 1368 |
|
1369 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L391) |
| 1369 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L391) |
1370 | 1370 |
|
1371 | 1371 | Check if series value is not None.
|
1372 | 1372 |
|
@@ -1403,7 +1403,7 @@ new StreamingSeries
|
1403 | 1403 | def abs() -> Self
|
1404 | 1404 | ```
|
1405 | 1405 |
|
1406 |
| -[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/78b9db67a528a5423f1795cb3b5747d0f09a8768/quixstreams/dataframe/series.py#L414) |
| 1406 | +[[VIEW SOURCE]](https://github.com/quixio/quix-streams/blob/main-copy/quixstreams/dataframe/series.py#L414) |
1407 | 1407 |
|
1408 | 1408 | Get absolute value of the series value.
|
1409 | 1409 |
|
|
0 commit comments