Shortcuts

torcharrow.ilist_column.ListMethods.slice

ListMethods.slice(start: int = 0, stop: Optional[int] = None) ListColumn

Slice sublist from each element in the column

Parameters:
  • int (start -) – Start position for slice operation. Negative starting position is not supported yet.

  • 0 (default) – Start position for slice operation. Negative starting position is not supported yet.

  • int – Stop position for slice operation. Negative stop position is not supported yet.

  • optional – Stop position for slice operation. Negative stop position is not supported yet.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources