<jupyter_start><jupyter_text>This notebook is to answer question asked at [https://stackoverflow.com/questions/54509742/index-not-found-but-the-index-is-in-the-csv-sheet-as-the-other-column-names](https://stackoverflow.com/questions/54509742/index-not-found-but-the-index-is-in-the-csv-sheet-as-the-other-column-names)<jupyter_code>import pandas as pd
data = pd.read_csv("hw.csv")
data
data1 = pd.get_dummies(data, columns=['SCHOOL'])
data1
data2 = pd.get_dummies(data, columns=['SCHOOL','Class','CODER','Activity'])
data2<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.17028985507246377, 'fraction_numerical': 0.036231884057971016, 'mean_word_length': 6.680555555555555, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '504034', 'license': 'MIT', 'n_tokens_mistral': 224, 'n_tokens_neox': 210, 'n_words': 23, 'path': 'StackOverflow/pd_dummies/pd_dummies.ipynb', 'repo_name': 'hygull/trypandas', 'size': '552'}