docstr: Get a series of field data for the specified candles.
  
  Parameters
  ----------
  candles: list[dict[str, float]]
  start_dt: datetime
  end_dt: datetime
  data_frequency: str
  field: str
  previous_value: float
  
  Returns
  -------
  Series
docstr_tok: ["Get","a","series","of","field","data","for","the","specified","candles",".","Parameters","--","--","--","--","--","candles",":","list","[","dict","[","str",",","float","]","]","start_dt",":","datetime","end_dt",":","datetime","data_frequency",":","str","field",":","str","previous_value",":","float","Returns","--","--","--","-","Series"]
code: def get_series_from_candles(
      self,
      candles,
      start_dt,
      end_dt,
      data_frequency,
      field,
      previous_value=None,
  ):
      """
      Get a series of field data for the specified candles.
  
      Parameters
      ----------
      candles: list[dict[str, float]]
      start_dt: datetime
      end_dt: datetime
      data_frequency: str
      field: str
      previous_value: float
  
      Returns
      -------
      Series
  
      """
      dates = [candle["last_traded"] for candle in candles]
      values = [candle[field] for candle in candles]
      series = pd.Series(values, index=dates)
  
      periods = get_periods_range(
          start_dt=start_dt, end_dt=end_dt, freq=data_frequency
      )
      # TODO: ensure that this working as expected, if not use fillna
      series = series.reindex(
          periods,
          method="ffill",
          fill_value=previous_value,
      )
      series.sort_index(inplace=True)
      return series
  
imports: import abc
  from abc import ABCMeta, abstractmethod, abstractproperty
  from datetime import timedelta
  from time import sleep
  import numpy
  import pandas
  from catalyst.constants import LOG_LEVEL
  from catalyst.data.data_portal import BASE_FIELDS
  from catalyst.exchange.exchange_bundle import ExchangeBundle
  from catalyst.exchange.exchange_errors import MismatchingQuoteCurrencies, SymbolNotFoundOnExchange, PricingDataNotLoadedError, NoDataAvailableOnExchange, NoValueForField, NoCandlesReceivedFromExchange, TickerNotFoundError, NotEnoughCashError
  from catalyst.exchange.utils.datetime_utils import get_delta, get_periods_range, get_periods, get_start_dt, get_frequency, get_candles_number_from_minutes
  from catalyst.exchange.utils.exchange_utils import get_exchange_symbols, resample_history_df, has_bundle, get_candles_df
  from logbook import Logger
label_desc: Use image node_id 16 for calling the Exchange obj's underlying member method code with example usage: obj.get_series_from_candles(candles, start_dt, end_dt, data_frequency, field, previous_value) and returns: series