code: def test_bcolz_write_daily_present(self):
      start = pd.to_datetime("2017-01-01")
      end = pd.to_datetime("today")
      freq = "daily"
  
      df = self.generate_df("bitfinex", freq, start, end)
  
      writer = BcolzExchangeBarWriter(
          rootdir=self.root_dir,
          start_session=start,
          end_session=end,
          data_frequency=freq,
          write_metadata=True,
      )
  
      data = []
      data.append((1, df))
      writer.write(data)
      pass
  
imports: import random
  import shutil
  import tempfile
  import pandas
  from nose.tools import assert_equals
  from catalyst.exchange.exchange_bcolz import BcolzExchangeBarWriter, BcolzExchangeBarReader
  from catalyst.exchange.exchange_bundle import ExchangeBundle
  from catalyst.exchange.utils.bundle_utils import get_df_from_arrays
label_desc: Use image node_id 6 for calling the TestBcolzWriter obj's underlying member method code with example usage: obj.test_bcolz_write_daily_present() without return types