Question: Hi, it's urgent ! it's a python I've got an error please help me! #Question number 1 import numpy as np arr=np.genfromtxt(/Volumes/Samsung SSD 860 EVO

Hi, it's urgent ! it's a python I've got an error please help me!

#Question number 1 import numpy as np arr=np.genfromtxt("/Volumes/Samsung SSD 860 EVO 500GB Media/Download/primenumbers.txt", dtype=int) arr=arr.reshape(-1,1) arr.shape def find_cat(x): if x

arr2 = np.apply_along_axis(find_cat, axis=1, arr=arr) arr2 = arr2.reshape(-1,1) arr3 = np.hstack((arr, arr2)) arr_300 = np.array([col[0] for col in arr3 if col[1]==' here(error) avg_300

print("Number of items in category \ "and here error

please help me to fix it

The result must be look like this below

Hi, it's urgent ! it's a python I've got an error please

I attached the text file here. Please help me!

https://drive.google.com/file/d/1zVem14B-tbHm0BCwOS2HuLu2cehmuqaD/view?usp=sharing

Number of items in category -300-62, and average of nunbers in this category-133.47

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Question Hi its urgent its a python Ive got an error please help me Question numbe... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!