code: def times_frame():
      """Frame for testing times argument in EWM groupby."""
      return DataFrame(
          {
              "A": ["a", "b", "c", "a", "b", "c", "a", "b", "c", "a"],
              "B": [0, 0, 0, 1, 1, 1, 2, 2, 2, 3],
              "C": to_datetime(
                  [
                      "2020-01-01",
                      "2020-01-01",
                      "2020-01-01",
                      "2020-01-02",
                      "2020-01-10",
                      "2020-01-22",
                      "2020-01-03",
                      "2020-01-23",
                      "2020-01-23",
                      "2020-01-04",
                  ]
              ),
          }
      )
  
imports: import numpy
  import pytest
  from pandas import DataFrame, DatetimeIndex, Index, MultiIndex, Series, Timestamp, date_range, to_datetime
  import pandas._testing
  from pandas.api.indexers import BaseIndexer
  from pandas.core.groupby.groupby import get_groupby
label_desc: Use image node_id 1 for calling a global function with example usage: times_frame() and returns: DataFrame