<jupyter_start><jupyter_text>Shape and Reshape  Task shapeThe shape tool gives a tuple of array dimensions and can be used to change the dimensions of an array.(a). Using shape to get array dimensionsimport numpymy__1D_array = numpy.array([1, 2, 3, 4, 5])print my_1D_array.shape     (5,) -> 1 row and 5 columnsmy__2D_array = numpy.array([[1, 2],[3, 4],[6,5]])print my_2D_array.shape     (3, 2) -> 3 rows and 2 columns (b). Using shape to change array dimensionsimport numpychange_array = numpy.array([1,2,3,4,5,6])change_array.shape = (3, 2)print change_array      Output[[1 2][3 4][5 6]] reshapeThe reshape tool gives a new shape to an array without changing its data. It creates a new array and does not modify the original array itself.import numpymy_array = numpy.array([1,2,3,4,5,6])print numpy.reshape(my_array,(3,2))Output[[1 2][3 4][5 6]] TaskYou are given a space separated list of nine integers. Your task is to convert this list into a X NumPy array.Input FormatA single line of input containing  space separated integers.Output FormatPrint the X NumPy array.Sample Input1 2 3 4 5 6 7 8 9Sample Output[[1 2 3] [4 5 6][7 8 9]]<jupyter_code>import numpy as np

s = input().split(" ")
arr = [int(i) for i in s]

change_array = np.array(arr)
print(np.reshape(arr,(3,3)))<jupyter_output>1 2 3 4 5 6 7 8 9
[[1 2 3]
 [4 5 6]
 [7 8 9]]
{'fraction_non_alphanumeric': 0.11360239162929746, 'fraction_numerical': 0.06576980568011959, 'mean_word_length': 4.602510460251046, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, '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': '43421', 'license': 'MIT', 'n_tokens_mistral': 504, 'n_tokens_neox': 453, 'n_words': 187, 'path': 'UoH_HackerRank_Challenge/Problem_7.ipynb', 'repo_name': 'akansh02/Some-HackerRank-Problems', 'size': '1338'}