code: def test_is_first_last_distinct_all_null(
      dtypes: pl.PolarsDataType,
  ) -> None:
      s = pl.Series([None, None, None], dtype=dtypes)
      assert s.is_first_distinct().to_list() == [True, False, False]
      assert s.is_last_distinct().to_list() == [False, False, True]
  
file_path: polars/py-polars/tests/unit/operations/test_is_first_last_distinct.py
imports: import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 7 for calling a global function with example usage: test_is_first_last_distinct_all_null(dtypes) without return types