<jupyter_start><jupyter_text><jupyter_code>import pandas as pd
df = pd.read_excel('남북한발전전력량.xlsx')
df_ns = df.iloc[[0,5],2:]
#df.loc[0:2,'전력량 (억㎾h)':'발전 전력별']
df.loc[[0,5], '1990':]
df_ns
df_ns.index = ['South','North']
df_ns
df_ns = df_ns.transpose()
df_ns.plot()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.22448979591836735, 'fraction_numerical': 0.03741496598639456, 'mean_word_length': 8.21875, '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': '279221', 'license': 'Apache-2.0', 'n_tokens_mistral': 169, 'n_tokens_neox': 179, 'n_words': 20, 'path': 'pandas_plot.ipynb', 'repo_name': 'Won9999/test_viuallization', 'size': '294'}