<jupyter_start><jupyter_text>Electric provider data from 2011 and 2019 across Texas and Montanta  Average Residential Rates (per kwh) 2011 Texas<jupyter_code>t11 = d11[d11.state == 'TX'].resrate.mean()
print('2011 average price in Texas:', t11)<jupyter_output>2011 average price in Texas: 0.09953679417105261<jupyter_text>Montana<jupyter_code>m11 = d11[d11.state == 'MT'].resrate.mean()
print('2011 average price in Montana:', m11)<jupyter_output>2011 average price in Montana: 0.07274309763636365<jupyter_text>2019 Texas<jupyter_code>t19 = d19[d19.state == 'TX'].resrate.mean()
print('2019 average price in Texas:', t19)<jupyter_output>2019 average price in Texas: 0.10533926738074713<jupyter_text>Montana<jupyter_code>m19 = d19[d19.state == 'MT'].resrate.mean()
print('2019 average price in Montana:', m19)<jupyter_output>2019 average price in Montana: 0.09008370980357143<jupyter_text>Graph change in average residential price between 2011 and 2019<jupyter_code>val2011 = [t11, m11]
val2019 = [t19, m19]
index = ['texas', 'montana']
df = pd.DataFrame({'2011': val2011,'2019': val2019}, index=index)
ax = df.plot.bar(rot=0)<jupyter_output><empty_output><jupyter_text>Precent change in average residential price between 2011 and 2019<jupyter_code>df = pd.DataFrame({
    'TX': [t11, t19],
    'MT': [m11, m19]},
    index=['2011', '2019'])
df.pct_change()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13852813852813853, 'fraction_numerical': 0.15656565656565657, 'mean_word_length': 7.561728395061729, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '19865', 'license': 'MIT', 'n_tokens_mistral': 670, 'n_tokens_neox': 511, 'n_words': 114, 'path': 'FINAL-PROJ/dashboard.ipynb', 'repo_name': 'calwhi/molinExercises', 'size': '1386'}