<jupyter_start><jupyter_text>Get to Know a Numpy Array  Cast the following list to a numpy array:<jupyter_code>import numpy as np
a=[1,2,3,4,5]
x = np.array(a)<jupyter_output><empty_output><jupyter_text>Click here for the solution```pythonx = np.array(a)``` 1.  Find the type of `x` using the function `type()`.<jupyter_code>type(x)<jupyter_output><empty_output><jupyter_text>Click here for the solution```pythontype(x)``` 2.  Find the shape of the array:<jupyter_code>x.shape<jupyter_output><empty_output><jupyter_text>Click here for the solution```pythonx.shape``` 3.  Find the type of data in the array:<jupyter_code>x.dtype<jupyter_output><empty_output><jupyter_text>Click here for the solution```pythonx.dtype``` 4.  Find the mean of the array:<jupyter_code>x.ma<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.13174404015056462, 'fraction_numerical': 0.011292346298619825, 'mean_word_length': 7.966292134831461, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, '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': '5', 'dir': 'jupyter-structured-clean-dedup', 'id': '285906', 'license': 'MIT', 'n_tokens_mistral': 313, 'n_tokens_neox': 298, 'n_words': 70, 'path': '1 - Python for Data Science/Module 5 - Working with Numpy Arrays/code/1-PY0101EN-5.1_notebook_quizz_numpy1d.ipynb', 'repo_name': 'joaopaulo164/Data-Science-with-Python', 'size': '797'}