mirror of https://github.com/01-edu/Branch-AI.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
426 B
426 B
-
This question is validated if, without having used a for loop, the outputted DataFrame shape's
(261, 5)
and your output is the same as the one return with this line of code:market_data.loc[market_data.index.get_level_values('Ticker')=='AAPL'].sort_index().pct_change()
The DataFrame contains random data. Make sure your output and the one returned by this code is based on the same DataFrame.