code: def _import_time_from_frame(tm: pl.DataFrame) -> int:
      return int(
          tm.filter(pl.col("import").str.strip_chars() == "polars")
          .select("cumulative_time")
          .item()
      )
  
file_path: polars/py-polars/tests/unit/test_polars_import.py
imports: from __future__ import annotations
  import compileall
  import subprocess
  import sys
  from pathlib import Path
  import pytest
  import polars
  from polars import selectors
label_desc: Use image node_id 1 for calling a global function with example usage: _import_time_from_frame(tm) and returns: int