code: def test_load_hourly_bikesharing():
      dl = DataLoader()
      df = dl.load_bikesharing()
      assert list(df.columns) == [
          "date",
          TIME_COL,
          "count",
          "tmin",
          "tmax",
          "pn",
      ]
      assert df.shape == (78421, 6)
  
      agg_func = {
          "count": "sum",
          "tmin": "min",
          "tmax": "max",
          "pn": "mean",
      }
      df = dl.load_bikesharing(agg_freq="daily", agg_func=agg_func)
      assert TIME_COL in df.columns
      assert df.shape == (3269, len(agg_func) + 1)
      df = dl.load_bikesharing(agg_freq="weekly", agg_func=agg_func)
      assert TIME_COL in df.columns
      assert df.shape == (468, len(agg_func) + 1)
      df = dl.load_bikesharing(agg_freq="monthly", agg_func=agg_func)
      assert TIME_COL in df.columns
      assert df.shape == (109, len(agg_func) + 1)
  
imports: import os
  import re
  import pandas
  import pytest
  from greykite.common.constants import TIME_COL
  from greykite.common.data_loader import DataLoader
  from greykite.common.testing_utils import assert_equal
label_desc: Use image node_id 9 for calling a global function with example usage: test_load_hourly_bikesharing() without return types