code: def test_asfreq_actual():
      a = pd.Series(
          {
              pd.to_datetime("2010-02-27"): 100,
              pd.to_datetime("2010-03-25"): 200,
          }
      )
      actual = a.asfreq_actual(freq="M", method="ffill")
  
      assert len(actual) == 1
      assert "2010-02-27" in actual
  
imports: import ffn
  import pandas
  import numpy
  from pytest import fixture
  from numpy.testing import assert_almost_equal
label_desc: Use image node_id 24 for calling a global function with example usage: test_asfreq_actual() without return types