code: def test_drop_nan_ignore_null_3525() -> None:
      df = pl.DataFrame({"a": [1.0, float("nan"), 2.0, None, 3.0, 4.0]})
      assert df.select(
          pl.col("a").drop_nans()
      ).to_series().to_list() == [
          1.0,
          2.0,
          None,
          3.0,
          4.0,
      ]
  
file_path: polars/py-polars/tests/unit/operations/test_drop.py
imports: from typing import Any
  import pytest
  import polars
  import polars.selectors
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 6 for calling a global function with example usage: test_drop_nan_ignore_null_3525() without return types