rohanphadke commited on
Commit
129481e
·
verified ·
1 Parent(s): 4c35a81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def plot_efficient_frontier(dataframes, names):
11
 
12
  # Ensure you include the code for the function here
13
  # Calculate daily returns for each asset
14
- returns = pd.concat([df['Close'].pct_change().dropna() for df in dataframes], axis=1)
15
  returns.columns = names
16
 
17
  mean_returns = returns.mean() * 252
 
11
 
12
  # Ensure you include the code for the function here
13
  # Calculate daily returns for each asset
14
+ returns = pd.concat([df['Close'].pct_change().dropna() for df in dataframes], axis=1)
15
  returns.columns = names
16
 
17
  mean_returns = returns.mean() * 252