code: def make_dividends_data(cls):
      return pd.DataFrame(
          [
              {
                  # only care about ex date, the other dates don't matter here
                  "ex_date": pd.Timestamp(
                      "2015-01-06", tz="UTC"
                  ).to_datetime64(),
                  "record_date": pd.Timestamp(
                      "2015-01-06", tz="UTC"
                  ).to_datetime64(),
                  "declared_date": pd.Timestamp(
                      "2015-01-06", tz="UTC"
                  ).to_datetime64(),
                  "pay_date": pd.Timestamp(
                      "2015-01-06", tz="UTC"
                  ).to_datetime64(),
                  "amount": 2.0,
                  "sid": cls.DIVIDEND_ASSET_SID,
              },
              {
                  "ex_date": pd.Timestamp(
                      "2015-01-07", tz="UTC"
                  ).to_datetime64(),
                  "record_date": pd.Timestamp(
                      "2015-01-07", tz="UTC"
                  ).to_datetime64(),
                  "declared_date": pd.Timestamp(
                      "2015-01-07", tz="UTC"
                  ).to_datetime64(),
                  "pay_date": pd.Timestamp(
                      "2015-01-07", tz="UTC"
                  ).to_datetime64(),
                  "amount": 4.0,
                  "sid": cls.DIVIDEND_ASSET_SID,
              },
          ],
          columns=[
              "ex_date",
              "record_date",
              "declared_date",
              "pay_date",
              "amount",
              "sid",
          ],
      )
  
imports: from textwrap import dedent
  from nose_parameterized import parameterized
  import numpy
  from numpy import nan
  import pandas
  from six import iteritems
  from catalyst import TradingAlgorithm
  from catalyst._protocol import handle_non_market_minutes, BarData
  from catalyst.assets import Asset, Equity
  from catalyst.errors import HistoryInInitialize, HistoryWindowStartsBeforeData
  from catalyst.finance.trading import SimulationParameters
  from catalyst.finance.asset_restrictions import NoRestrictions
  from catalyst.testing import create_minute_df_for_asset, str_to_seconds, MockDailyBarReader
  from catalyst.testing.fixtures import WithCreateBarData, WithDataPortal, CatalystTestCase, alias
label_desc: Use image node_id 5 for calling the WithHistory obj's underlying member method code with example usage: obj.make_dividends_data(cls) and returns: pd