Array column separations for beginners

Rob Gaddi rgaddi at highlandtechnology.invalid
Mon May 1 11:36:21 EDT 2017


On 05/01/2017 08:14 AM, katarin.bern at gmail.com wrote:
> Hi again,
>
> I am trying to subtract the minimum value from all numbers (in one array). I am using this:
>
>
> (array[:,1] -= np.min(array[:,1])   but I alsways have syntaxerror:invalid syntax. Do I need some import for this -=? or its something else? THanks!
>

Get rid of the leading (.

-- 
Rob Gaddi, Highland Technology -- www.highlandtechnology.com
Email address domain is currently out of order.  See above to fix.



More information about the Python-list mailing list