MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / get_data

Function get_data

rl/linear_rl_trader.py:16–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15# Let's use AAPL (Apple), MSI (Motorola), SBUX (Starbucks)
16def get_data():
17 # returns a T x 3 list of stock prices
18 # each row is a different stock
19 # 0 = AAPL
20 # 1 = MSI
21 # 2 = SBUX
22 df = pd.read_csv('../tf2.0/aapl_msi_sbux.csv')
23 return df.values
24
25
26

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected