<jupyter_start><jupyter_text>Construct an equally weighted portfolio at the beginning, no modification<jupyter_code>statistics = pd.DataFrame(index=returns.columns)
statistics.index.names = ["Ticker"]
statistics["Mean Return (%)"] = returns.mean() * 100
statistics["Standard deviation (%)"] = returns.std() * 100
statistics["Skewness"] = returns.skew()
statistics["Kurtosis"] = returns.kurtosis()
statistics = statistics.round(4)
statistics
statistics.to_csv(f"../data/{index}_calculated/statistics.csv")<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup