code: def eq_ravg(actual, expected):
      assert isinstance(actual, pd.DataFrame)
      assert actual.shape == expected["shape"]
      if actual.shape[1] > 0:
          assert actual.columns[0] == "original"
          assert actual.columns[1:].tolist() == [
              f'rolling {l}{expected["freq"]}' for l in expected["w"]
          ]
          for l in expected["w"]:
              assert round(
                  actual[f'rolling {l}{expected["freq"]}'], 2
              ).equals(round(actual["original"].rolling(l).mean(), 2))
  
file_path: tslumen/tests/unit/profile/test_smooth.py
imports: import pytest
  import mock
  from tests.unit.profile.base import *
  from tslumen.profile.smooth import lowess, rolling_avg, supsmu
label_desc: Use image node_id 3 for calling a global function with example usage: eq_ravg(actual, expected) without return types