Created
May 11, 2022 21:00
-
-
Save Zmey56/26efbccb600ad18be743c916b0bc6fa3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
df_weights = pd.DataFrame(columns=portfolios_V1.columns) | |
df_weights = df_weights.append(min_vol_port.rename("Minimum Volatility").to_frame().T) | |
df_weights = df_weights.append(max_ret_port.rename("Maximum Returns").to_frame().T) | |
df_weights = df_weights.append(optimal_risky_port.rename("Maximum Sharpe Ratio").to_frame().T) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment