May-23-2019, 03:54 PM (This post was last modified: May-23-2019, 06:28 PM by Yoriz. Edited 2 times in total. Edit Reason: Added code tags, prefix and moved to data science )
I have an array created with numpy
how I do that please ?
Thank You -
arr10=np.random.randint(0,10,(4,4))If for example I want to sum to each element the value 10 where the value is > 5
how I do that please ?
Thank You -
Yoriz wrote May-23-2019, 06:28 PM:
Please post all code, output and errors (in it's entirety) between their respective tags. I did it for you this time, Here are instructions on how to do it yourself next time.
Please post all code, output and errors (in it's entirety) between their respective tags. I did it for you this time, Here are instructions on how to do it yourself next time.