code: def test_series_resample_bfill(rule):
      rng = pd.date_range("1/1/2012", periods=10, freq="5S")
      ts = pd.Series(np.random.randint(0, 500, len(rng)), index=rng)
      gts = cudf.from_pandas(ts)
      assert_resample_results_equal(
          ts.resample(rule).bfill(), gts.resample(rule).bfill()
      )
  
file_path: cudf/python/cudf/cudf/tests/test_resampling.py
imports: import numpy
  import pandas
  import pytest
  import cudf
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 5 for calling a global function with example usage: test_series_resample_bfill(rule) without return types