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

Function get_data

tf2.0/rl_trader.py:24–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23# Let's use AAPL (Apple), MSI (Motorola), SBUX (Starbucks)
24def get_data():
25 # returns a T x 3 list of stock prices
26 # each row is a different stock
27 # 0 = AAPL
28 # 1 = MSI
29 # 2 = SBUX
30 df = pd.read_csv('aapl_msi_sbux.csv')
31 return df.values
32
33
34

Callers 1

rl_trader.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected