Link to home
Start Free TrialLog in
Avatar of zizi21
zizi21

asked on

python array

hi,

i have this code that i am trying to understand..

 np.subtract.outer(obs[:,0], interp[:,0])

even when i run the program..i dont understand.....
Avatar of gelonida
gelonida
Flag of France image

I am guessing, that obs and interp are no standard python data types, but some
special class of a special library.

In order to verify my assumption:
could you add following line before this line in question and tell me what's printed out

print('type of obs = %r' % type(obs))
Avatar of zizi21
zizi21

ASKER

I am trying to understand teh second code from here

http://stackoverflow.com/questions/3104781/inverse-distance-weighted-idw-interpolation-with-python

It is self created array ...
ASKER CERTIFIED SOLUTION
Avatar of gelonida
gelonida
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of zizi21

ASKER

Thanks a lot