class_docstr: Apply Python slice object to Polars DataFrame or Series.
  
  Has full support for negative indexing and/or stride.
docstr: Return lazy variant back to its original type.
docstr_tok: ["Return","lazy","variant","back","to","its","original","type","."]
code: def _as_original(
      lazy: LazyFrame, original: FrameOrSeries
  ) -> FrameOrSeries:
      """Return lazy variant back to its original type."""
      frame = lazy.collect()
      return (
          frame
          if isinstance(original, pl.DataFrame)
          else frame.to_series()
      )
  
file_path: polars/py-polars/polars/slice.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Union
  import polars._reexport
label_desc: Use image node_id 2 for calling the PolarsSlice obj's underlying member method code with example usage: obj._as_original(lazy, original) and returns: unknown