<jupyter_start><jupyter_text>Array birlestime<jupyter_code>import numpy as np
x = np.array([1,2,3])
y = np.array([3,4,5])
np.concatenate([x,y]) #ikiden fazla arrayi uc uca ekler
z = np.array([[1,2,3],
             [7,8,9]])
z
np.concatenate([z,z]) #iki boyutlu arrayi alt alta ekleme
np.concatenate([z,z], axis = 1)#iki boyutlu arrayi yan yana ekleme
a = np.array([[1,2,3],
             [4,5,6]])
b = np.array([7,8,9])
a
b
np.vstack([a,b])#boyutları ayni olmayan arrayleri birlestirme
#vstack = vertical
a = np.array([[99],
             [99]])
a
b = np.array([[1,2,3],
             [4,5,6]])
np.hstack([a,b])<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.2006269592476489, 'fraction_numerical': 0.050156739811912224, 'mean_word_length': 3.9153846153846152, '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': '43305', 'license': 'Unlicense', 'n_tokens_mistral': 301, 'n_tokens_neox': 300, 'n_words': 57, 'path': 'numpy_arraylari_ekleme.ipynb', 'repo_name': 'baranacikgoz/Data-Manipulation', 'size': '638'}