<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>
{'fraction_non_alphanumeric': 0.15168539325842698, 'fraction_numerical': 0.013108614232209739, 'mean_word_length': 8.553571428571429, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '642355', 'license': 'MIT', 'n_tokens_mistral': 181, 'n_tokens_neox': 168, 'n_words': 29, 'path': 'notebook/[Trading Algorithm - Baseline 1] Statistics.ipynb', 'repo_name': 'tqa236/LSTM_algo_trading', 'size': '534'}