<jupyter_start><jupyter_text>Numpy Matrix Operation  Matrix 만들기<jupyter_code>import numpy as np
arr=np.array([[1,2,3],[4,5,6],[7,8,9]])
arr<jupyter_output><empty_output><jupyter_text>Column추출<jupyter_code>arr_data=arr[:,0:2]
arr_data
arr_label=arr[:,2:3]
arr_label<jupyter_output><empty_output><jupyter_text>합치기  열(column) 합치기<jupyter_code>np.hstack([arr_data,arr_label])<jupyter_output><empty_output><jupyter_text>행(row) 합치기<jupyter_code>arr1=np.array([[11,12],[13,14],[15,16]])
arr2=np.array([[21,22],[23,24],[25,26]])
np.vstack([arr1,arr2])<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.2024432809773124, 'fraction_numerical': 0.07155322862129145, 'mean_word_length': 21.96, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '279758', 'license': 'Apache-2.0', 'n_tokens_mistral': 295, 'n_tokens_neox': 298, 'n_words': 18, 'path': '2.PythonLibrary/Numpy3.ipynb', 'repo_name': 'dnworry/AICentroPreLab', 'size': '573'}