class_docstr: Class capable of writing daily OHLCV data to disk in a format that can
  be read efficiently by BcolzDailyOHLCVReader.
  
  Parameters
  ----------
  filename : str
      The location at which we should write our output.
  calendar : zipline.utils.calendar.trading_calendar
      Calendar to use to compute asset calendar offsets.
  start_session: pd.Timestamp
      Midnight UTC session label.
  end_session: pd.Timestamp
      Midnight UTC session label.
  
  See Also
  --------
  zipline.data.bcolz_daily_bars.BcolzDailyBarReader
class_docstr_tok: ["Class","capable","of","writing","daily","OHLCV","data","to","disk","in","a","format","that","can","be","read","efficiently","by","BcolzDailyOHLCVReader",".","Parameters","--","--","--","--","--","filename",":","str","The","location","at","which","we","should","write","our","output",".","calendar",":","zipline.utils.calendar.trading_calendar","Calendar","to","use","to","compute","asset","calendar","offsets",".","start_session",":","pd.Timestamp","Midnight","UTC","session","label",".","end_session",":","pd.Timestamp","Midnight","UTC","session","label",".","See","Also","--","--","--","--","zipline.data.bcolz_daily_bars.BcolzDailyBarReader"]
docstr: Read CSVs as DataFrames from our asset map.
  
  Parameters
  ----------
  asset_map : dict[int -> str]
      A mapping from asset id to file path with the CSV data for that
      asset
  show_progress : bool
      Whether or not to show a progress bar while writing.
  invalid_data_behavior : {'warn', 'raise', 'ignore'}
      What to do when data is encountered that is outside the range of
      a uint32.
docstr_tok: ["Read","CSVs","as","DataFrames","from","our","asset","map",".","Parameters","--","--","--","--","--","asset_map",":","dict","[","int","-",">","str","]","A","mapping","from","asset","id","to","file","path","with","the","CSV","data","for","that","asset","show_progress",":","bool","Whether","or","not","to","show","a","progress","bar","while","writing",".","invalid_data_behavior",":","{","'warn","'",",","'raise","'",",","'ignore","'","}","What","to","do","when","data","is","encountered","that","is","outside","the","range","of","a","uint32","."]
code: def write_csvs(
      self, asset_map, show_progress=False, invalid_data_behavior="warn"
  ):
      """Read CSVs as DataFrames from our asset map.
  
      Parameters
      ----------
      asset_map : dict[int -> str]
          A mapping from asset id to file path with the CSV data for that
          asset
      show_progress : bool
          Whether or not to show a progress bar while writing.
      invalid_data_behavior : {'warn', 'raise', 'ignore'}
          What to do when data is encountered that is outside the range of
          a uint32.
      """
      read = partial(
          read_csv,
          parse_dates=["day"],
          index_col="day",
          dtype=self._csv_dtypes,
      )
      return self.write(
          ((asset, read(path)) for asset, path in iteritems(asset_map)),
          assets=viewkeys(asset_map),
          show_progress=show_progress,
          invalid_data_behavior=invalid_data_behavior,
      )
  
imports: from functools import partial
  import warnings
  from bcolz import carray, ctable
  import logbook
  import numpy
  from numpy import array, full, iinfo, nan
  from pandas import DatetimeIndex, NaT, read_csv, to_datetime, Timestamp
  from six import iteritems, viewkeys
  from toolz import compose
  from trading_calendars import get_calendar
  from zipline.data.session_bars import CurrencyAwareSessionBarReader
  from zipline.data.bar_reader import NoDataAfterDate, NoDataBeforeDate, NoDataOnDate
  from zipline.utils.functional import apply
  from zipline.utils.input_validation import expect_element
  from zipline.utils.numpy_utils import iNaT, float64_dtype, uint32_dtype
  from zipline.utils.memoize import lazyval
  from zipline.utils.cli import maybe_show_progress
  from ._equities import _compute_row_slices, _read_bcolz_data
label_desc: Use image node_id 5 for calling the BcolzDailyBarWriter obj's underlying member method code with example usage: obj.write_csvs(asset_map, show_progress, invalid_data_behavior) and returns: self