<jupyter_start><jupyter_text>pd.get_dummies(df_clean,prefix=['Course ID', 'Gender', 'Income', 'Education', Primary Interest In Course', 'Hours Coded', 'How Many Hours A Week Can You Commit To Class'])<jupyter_code>one_hot_encoded_df = pd.get_dummies(df_clean,prefix=[ 'Gender', 'Income', 'Education', 'Primary Interest In Course', 'Hours Coded', 'How Many Hours A Week Can You Commit To Class'])
one_hot_encoded_df.drop(axis=1, columns=['Course ID'])
one_hot_encoded_df.to_csv('final_clean_orion.csv', sep=',', encoding='utf-8', index=False)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.15586690017513136, 'fraction_numerical': 0.0035026269702276708, 'mean_word_length': 9.4, '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': '579996', 'license': 'Apache-2.0', 'n_tokens_mistral': 210, 'n_tokens_neox': 198, 'n_words': 48, 'path': 'init_2.ipynb', 'repo_name': 'samisnotinsane/Accenture-AI-Hackathon', 'size': '571'}