<jupyter_start><jupyter_text>Gain(S, Outlook)<jupyter_code>dfs = df['Minutes Played'].std()
stds = {}

variable = 'Humidity'
stds[variable] = 0.
for g in df[variable].unique():
    df_g = df[df[variable]==g]
    stds[variable]+= df_g['Minutes Played'].std()*(len(df_g)/len(df))<jupyter_output><empty_output><jupyter_text>Gain(S, Wind)<jupyter_code>stds
dfs
df['Wind'='Weak']
df[(df.Wind=='Weak') & (df.Outlook=='Overcast')]<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.2163355408388521, 'fraction_numerical': 0.002207505518763797, 'mean_word_length': 8.869565217391305, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '581985', 'license': 'MIT', 'n_tokens_mistral': 207, 'n_tokens_neox': 195, 'n_words': 23, 'path': 'notebooks/Decision-Tree/dt-regression-discrete-features.ipynb', 'repo_name': 'nipunbatra/ml2019', 'size': '453'}