This understandable single-line text should be quite effective without boring:
slope = np.polyfit(X,Y,1)[0]
Finally you should get
import numpy as np Y = np.array([ [ 2.62710000e+11, 3.14454000e+11, 3.63609000e+11, 4.03196000e+11, 4.21725000e+11, 2.86698000e+11, 3.32909000e+11, 4.01480000e+11, 4.21215000e+11, 4.81202000e+11], [ 3.11612352e+03, 3.65968334e+03, 4.15442691e+03, 4.52470938e+03, 4.65011423e+03, 3.10707392e+03, 3.54692896e+03, 4.20656404e+03, 4.34233412e+03, 4.88462501e+03], [ 2.21536396e+01, 2.59098311e+01, 2.97401268e+01, 3.04784552e+01, 3.13667639e+01, 2.76377113e+01, 3.27846013e+01, 3.73223417e+01, 3.51249997e+01, 4.42563658e+01]]).T X = [ 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999] print np.polyfit(X,Y,1)[0]
The output value is [1.54983152e + 10 9.98749876e + 01 1.84564349e + 00]