code: def _test_daily_data_to_minute_table(self):
      exchange_name = "poloniex"
  
      # Switch between daily and minute for testing
      data_frequency = "daily"
      # data_frequency = 'minute'
  
      exchange = get_exchange(exchange_name)
      assets = [
          exchange.get_asset("eth_btc"),
          exchange.get_asset("etc_btc"),
      ]
  
      start = pd.to_datetime("2017-9-1", utc=True)
      end = pd.to_datetime("2017-9-30", utc=True)
  
      # Preparing the bundle folder
      root = get_exchange_folder(exchange.name)
      path = BUNDLE_NAME_TEMPLATE.format(
          root=root, frequency=data_frequency
      )
      ensure_directory(path)
  
      exchange_bundle = ExchangeBundle(exchange)
  
      # We are using a BcolzMinuteBarWriter even though the data is daily
      # Each day has a maximum of one bar
  
      # I tried setting the minutes_per_day to 1 will not create
      # unnecessary bars
      writer = BcolzExchangeBarWriter(
          rootdir=path,
          data_frequency=data_frequency,
          start_session=start,
          end_session=end,
          write_metadata=True,
      )
  
      # This will read the daily data in a bundle created by
      # the daily writer. It will write to the minute writer which
      # we are passing.
  
      # Ingesting a second asset to ensure that multiple chunks
      # don't override each other
      for asset in assets:
          exchange_bundle.ingest_ctable(
              asset=asset,
              data_frequency=data_frequency,
              period="2017",
              start_dt=start,
              end_dt=end,
              writer=writer,
              empty_rows_behavior="strip",
          )
  
      reader = BcolzExchangeBarReader(
          rootdir=path, data_frequency=data_frequency
      )
  
      # Reading the two assets to ensure that no data was lost
      for asset in assets:
          sid = asset.sid
  
          daily_values = reader.load_raw_arrays(
              fields=["open", "high", "low", "close", "volume"],
              start_dt=start,
              end_dt=end,
              sids=[sid],
          )
  
          print(
              "found {} rows for last ingestion".format(
                  len(daily_values[0])
              )
          )
      pass
  
imports: import os
  import tempfile
  from logging import getLogger
  import pandas
  from catalyst.exchange.exchange_bcolz import BcolzExchangeBarReader, BcolzExchangeBarWriter
  from catalyst.exchange.exchange_bundle import ExchangeBundle, BUNDLE_NAME_TEMPLATE
  from catalyst.exchange.utils.bundle_utils import get_bcolz_chunk, get_df_from_arrays
  from catalyst.exchange.utils.datetime_utils import get_start_dt
  from catalyst.exchange.utils.exchange_utils import get_exchange_folder
  from catalyst.exchange.utils.factory import get_exchange
  from catalyst.exchange.utils.stats_utils import df_to_string
  from catalyst.utils.paths import ensure_directory
label_desc: Use image node_id 7 for calling the TestExchangeBundle obj's underlying member method code with example usage: obj._test_daily_data_to_minute_table() without return types