<jupyter_start><jupyter_text>Identify Avg Temp in June and December across all years and run t-test<jupyter_code>june_data = hawaii_analysis[hawaii_analysis.index.month == 6]
dec_data = hawaii_analysis[hawaii_analysis.index.month == 12]
june_data.mean()
dec_data.mean()
jun_temps = june_data.tobs
dec_temps = dec_data.tobs
# https://docs.scipy.org/doc/scipy/reference/stats.html
# refer to ttest_ind as T-test for the mans of two independent samples i.e. sample 1 = jun, sample 2 = dec
# temps not dependent on one another
stats.ttest_ind(jun_temps, dec_temps)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09830508474576272, 'fraction_numerical': 0.00847457627118644, 'mean_word_length': 5.952941176470588, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '248115', 'license': 'ADSL', 'n_tokens_mistral': 232, 'n_tokens_neox': 218, 'n_words': 52, 'path': 'Code/temp_analysis_I.ipynb', 'repo_name': 'EpicTomatoSauce/sqlalchemy-challenge', 'size': '590'}