code: def create_returns_from_range(sim_params):
      return pd.Series(
          index=sim_params.sessions,
          data=np.random.rand(len(sim_params.sessions)),
      )
  
imports: import pandas
  import numpy
  from datetime import timedelta, datetime
  from catalyst.assets import Asset
  from catalyst.finance.transaction import Transaction
  from catalyst.protocol import Event, DATASOURCE_TYPE
  from catalyst.sources import SpecificEquityTrades
  from catalyst.finance.trading import SimulationParameters
  from catalyst.sources.test_source import create_trade
  from catalyst.data.loader import load_from_yahoo, load_bars_from_yahoo
  from catalyst.utils.calendars import get_calendar
  from catalyst.utils.input_validation import expect_types
label_desc: Use image node_id 9 for calling a global function with example usage: create_returns_from_range(sim_params) and returns: pd