Creates a collection of references to self columns. Supports basic column manipulation methods. Example: >>> import pathway as pw >>> t1 = pw.debug.table_from_markdown(''' ... age | owner | pet ... 10 | Alice | dog ... 9 | Bob | dog
(self)
| 473 | |
| 474 | @property |
| 475 | def slice(self) -> TableSlice: |
| 476 | """Creates a collection of references to self columns. |
| 477 | Supports basic column manipulation methods. |
| 478 | |
| 479 | Example: |
| 480 | |
| 481 | >>> import pathway as pw |
| 482 | >>> t1 = pw.debug.table_from_markdown(''' |
| 483 | ... age | owner | pet |
| 484 | ... 10 | Alice | dog |
| 485 | ... 9 | Bob | dog |
| 486 | ... 8 | Alice | cat |
| 487 | ... 7 | Bob | dog |
| 488 | ... ''') |
| 489 | >>> t1.slice.without("age") |
| 490 | TableSlice({'owner': <table1>.owner, 'pet': <table1>.pet}) |
| 491 | """ |
| 492 | return TableSlice(dict(**self), self) |
| 493 | |
| 494 | @trace_user_frame |
| 495 | @desugar |