code: def test_top_k_empty() -> None:
      df = pl.DataFrame({"test": []})
  
      assert_frame_equal(df.select([pl.col("test").top_k(2)]), df)
  
file_path: polars/py-polars/tests/unit/test_empty.py
imports: import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 2 for calling a global function with example usage: test_top_k_empty() without return types