In [11]:
dataArray = []
for df in DFList:
volume = df['Volume']
close = df['Close']
high = df['High']
low = df['Low']
dateTime=df['DateTime']
logDel = np.log(np.array(high))-np.log(np.array(low))
CloseMA = df['Close'].rolling(window=5).mean()[4:]
VolumeMA = df['Volume'].rolling(window=5).mean()[4:]
logRet_1 = np.array(np.diff(np.log(close)))
logRet_5 = np.log(np.array(close[4:]))-np.log(np.array(close[:-4]))
logRet_5_Ma = np.log(np.array(close[4:]))-np.log(np.array(CloseMA))
LogVol_5 = np.log(np.array(volume[4:]))-np.log(np.array(volume[:-4]))
LogVol_5_Ma = np.log(np.array(volume[4:]))-np.log(np.array(VolumeMA))
LogDel = logDel[4:]
LogRet_1 = logRet_1[3:]#np.diff本身就会减少一个,所以这取4个
X = np.column_stack([LogRet_1,LogDel,logRet_5,LogVol_5,logRet_5_Ma,LogVol_5_Ma])
dataArray.append(X)
dataArray
Out[11]:
[array([[ 0.00000000e+00, 5.24591367e-03, 1.45569399e-02, -1.69439372e-01, 3.50954517e-03, -8.85533973e-02], [-2.85056656e-03, 6.56744917e-03, -2.19563070e-04, -4.37866204e-01, -1.66747153e-03, -3.24241985e-01], [-6.16742043e-03, 6.18103513e-03, -8.57996684e-03, -1.81723776e+00, -6.56259925e-03, -1.71949734e+00], ..., [-5.04795569e-04, 3.53357258e-03, -1.20453150e-02, -1.30968384e-01, -5.63920733e-03, -6.66438120e-02], [-2.02173433e-03, 2.27531384e-03, -1.30687962e-02, 7.04286382e-01, -4.84531307e-03, 4.04426194e-01], [ 1.51668381e-03, 2.02173433e-03, -5.03906332e-03, -1.23924094e+00, -1.00984608e-03, -8.47834957e-01]]), array([[ 1.31304407e-02, 1.46945704e-02, 6.54366947e-03, 5.47782405e-01, 6.54366947e-03, 6.26807463e-02], [-1.56657995e-03, 9.88561641e-03, 3.66492557e-03, 8.88008735e-03, 3.97968793e-03, -1.28890633e-02], [-4.18958455e-03, 5.76219509e-03, 2.10139295e-03, -1.45238994e-01, -1.04953820e-04, -6.35137006e-02], ..., [ 3.39079161e-03, 3.39079161e-03, 4.52361529e-03, 6.50574143e-01, 2.71171286e-03, -8.78727971e-02], [-2.25924976e-03, 2.82486064e-03, 1.13154185e-03, -6.01865802e-04, -1.77635684e-15, -3.57858269e-01], [-5.67055673e-03, 5.95661951e-03, -5.67055673e-03, -1.21595415e+00, -4.76542571e-03, -8.80508345e-01]]), array([[ 0.00193237, 0.00386314, -0.00137798, 0.43689524, 0. , -0.08375405], [-0.00414537, 0.00607737, -0.00386955, -0.07649097, -0.00304162, -0.08341594], [-0.00110834, 0.00525371, -0.00608073, -0.19427937, -0.00315554, -0.01570958], ..., [-0.00268097, 0.0042907 , 0.01242588, 0.83368902, 0.0017196 , 0.45601266], [ 0.00482058, 0.00855391, 0.00858605, 0.21784148, 0.00310393, 0.16011123], [ 0.00106809, 0.00346898, 0.00106809, -0.36992645, 0.00224431, -0.56680325]]), array([[ 1.52749521e-03, 5.09036477e-03, 1.33164580e-02, -1.27898534e-01, 3.46567800e-03, -4.09371114e-02], [ 9.62032736e-03, 1.23848417e-02, 1.47210780e-02, -2.49555075e-02, 8.50164526e-03, 1.10434997e-01], [ 5.02639912e-03, 6.02562707e-03, 1.21060747e-02, 2.25202703e-01, 9.57186149e-03, 1.37739642e-01], ..., [ 4.67289728e-04, 3.26797676e-03, 7.50296603e-03, 2.06344064e-01, 4.02584571e-03, 1.25721052e-01], [ 1.40056045e-03, 1.86785018e-03, 7.96257134e-03, 4.25978499e-01, 3.64554526e-03, 2.69401027e-01], [-9.33488983e-04, 9.33488983e-04, 6.08901179e-03, -8.94735016e-01, 1.30835026e-03, -1.11614235e+00]]), array([[-1.96958301e-02, 2.13598075e-02, -3.85556348e-02, 2.49961524e+00, -2.39588457e-02, 2.67561631e-01], [-1.67148113e-02, 2.38049803e-02, -5.02453099e-02, 2.83093247e-01, -2.97013957e-02, -2.52651559e-02], [ 8.15352239e-03, 1.58125000e-02, -3.61202493e-02, 3.43279596e-02, -1.30975156e-02, 6.98763469e-02], [-7.19082677e-03, 1.15136796e-02, -3.54479458e-02, -8.08099284e-02, -1.15757535e-02, -5.47922721e-02], [ 3.36215494e-03, 1.53886182e-02, -1.23899607e-02, -7.79407722e-02, -1.72471657e-03, -4.76026566e-02], [ 1.42825565e-02, 1.38031701e-02, 1.86074071e-02, -4.39182459e-02, 1.21749732e-02, -8.35950679e-02], [ 2.83219448e-03, 7.08887657e-03, 1.32860792e-02, -6.85731322e-02, 1.07099877e-02, 4.74734712e-02], [-6.62097477e-03, 1.08851051e-02, 1.38559312e-02, -2.70035354e-01, 2.75586984e-03, -2.21302707e-01], [-1.33749307e-02, 1.43234724e-02, -2.88115445e-03, -7.36151140e-02, -1.07142174e-02, -1.86798314e-02], [-1.99132369e-02, 3.33203205e-02, -3.70769479e-02, 3.91412957e-01, -2.61452801e-02, 3.03986422e-01], [-1.88170940e-02, 2.28014835e-02, -5.87262363e-02, 1.48584659e-01, -3.39098829e-02, 1.51628139e-01], [ 4.99750135e-04, 1.04634736e-02, -5.16055114e-02, 2.01159860e-01, -2.17453589e-02, -1.16395980e-01], [-3.45650674e-02, 3.70789047e-02, -7.27956481e-02, -1.21414430e-01, -3.91510881e-02, -2.63107367e-01], [ 1.23363168e-02, 1.79584098e-02, -4.05460944e-02, -5.46660313e-01, -1.46054627e-02, -2.63159312e-01], [ 1.47061474e-02, 1.84698483e-02, -7.02285304e-03, -1.85281968e-01, 5.35030551e-03, 7.43712878e-02], [-5.04669252e-03, 1.64539847e-02, -1.25692957e-02, -2.77837995e-01, 2.73584120e-03, -1.93931360e-01], [-1.37546743e-02, 1.68199684e-02, 8.24109738e-03, 4.56133177e-01, -5.72862290e-03, 3.24348585e-01], [ 4.09521944e-03, 1.22356867e-02, 0.00000000e+00, 3.68758219e-01, -4.07851700e-03, 1.43454521e-01], [-1.31124131e-02, 1.82641733e-02, -2.78185605e-02, -2.73447752e-01, -1.45927983e-02, -2.26919159e-01], [-1.64387263e-02, 1.90631181e-02, -3.92105943e-02, 5.10593154e-01, -2.22190893e-02, 1.41821655e-01], [ 5.24797846e-03, 1.25491843e-02, -2.02079415e-02, -4.65896620e-02, -1.01550150e-02, 8.48233179e-02], [ 6.26143449e-03, 1.09319152e-02, -1.80417265e-02, -4.53483466e-02, -1.09173154e-03, 8.50210158e-03], [-5.20291375e-04, 9.07564897e-03, -5.44960477e-03, 6.28657990e-01, 2.13602936e-03, 2.51562514e-01], [-7.83703071e-03, 1.19980573e-02, 3.15209087e-03, -1.03303380e-01, -3.03760577e-03, -1.30316641e-01], [ 4.18739162e-03, 8.38359639e-03, 2.09150403e-03, -2.90047122e-01, -3.13348655e-04, -2.33325761e-01], [ 5.72918234e-03, 1.17540860e-02, 1.55925188e-03, -1.39735219e-01, 3.85056153e-03, -1.45044457e-01], [ 1.03333392e-02, 1.34403677e-02, 1.24128824e-02, -4.30358017e-01, 1.17885652e-02, -1.08322504e-01], [-5.67011828e-03, 7.72801373e-03, 1.45797948e-02, 4.37742118e-02, 4.76709541e-03, 1.02028978e-01], [-2.58799316e-03, 5.17197946e-03, 7.80441006e-03, 1.15319717e-01, -2.07286107e-04, 3.31388801e-02], [ 5.18134727e-04, 8.30526445e-03, 2.59336245e-03, -4.18822982e-03, -1.34589522e-03, -5.27500775e-02], [ 5.68183347e-03, 8.78104816e-03, -2.05814325e-03, -1.35640865e-02, 2.68193466e-03, -4.92587458e-02], [ 4.11205925e-03, 6.67353606e-03, 7.72403428e-03, -1.29671315e-01, 6.38092012e-03, -2.91636419e-02], [ 2.04970607e-03, 1.53688555e-03, 1.23617335e-02, -1.55430278e+00, 6.47085249e-03, -1.33355144e+00]]), array([[-0.00533205, 0.01160835, -0.00194222, 0.03316847, -0.00378384, -0.03707285], [-0.00487212, 0.00973955, -0.01790948, -0.0654421 , -0.0072993 , 0.04461138], [-0.00440529, 0.01124157, -0.00781827, 0.0461192 , -0.00723401, 0.03606348], ..., [ 0.00195503, 0.00520496, 0.01773445, 0.18416007, 0.00806192, -0.35926237], [ 0.00238431, 0.00651327, 0.01681079, -0.32294244, 0.00642893, -0.70118891], [ 0.0025946 , 0.00606194, 0.01129219, -1.31782253, 0.00515253, -1.13379424]]), array([[ 8.44824945e-03, 1.60252706e-02, 1.06833867e-02, 6.98406832e-01, 5.86173356e-03, 2.06107139e-01], [ 8.81645561e-03, 1.59189742e-02, 1.28093624e-02, -3.11744908e-01, 1.07665515e-02, -6.54426376e-02], [ 7.43335299e-03, 1.04964882e-02, 2.24679055e-02, -1.59527366e-01, 1.41267595e-02, -9.91581616e-02], ..., [-4.51059999e-04, 3.83531209e-03, 5.42864939e-03, -4.22027262e-01, 3.07261549e-03, -4.97621163e-01], [-1.80627730e-03, 4.51366147e-03, 4.98415169e-03, -1.38159894e+00, 5.42520019e-04, -7.15942579e-01], [ 1.35501376e-03, 2.25835688e-03, 3.16455960e-03, -1.93332454e+00, 6.32111273e-04, -1.60592988e+00]]), array([[-4.27554095e-03, 4.27554095e-03, -1.18316572e-02, 5.02433568e-01, -6.26455468e-03, 1.23889539e-02], [-6.20823388e-03, 7.16677697e-03, -1.56847322e-02, 1.37151277e-02, -8.87071822e-03, -2.63899870e-01], [ 0.00000000e+00, 5.73752470e-03, -1.19049025e-02, -1.09207371e-01, -5.73204340e-03, 9.14773284e-02], ..., [ 0.00000000e+00, 2.02480454e-03, -2.02275669e-03, 4.34577292e-01, 1.01245317e-04, 4.29183204e-02], [ 2.52780721e-03, 3.54072196e-03, 2.52780721e-03, -1.72995630e-01, 2.52780721e-03, -2.90152725e-01], [ 0.00000000e+00, 2.01969268e-03, 5.06202043e-03, -1.99621295e+00, 2.02173433e-03, -1.44832667e+00]]), array([[ 0.00000000e+00, 2.22284059e-03, -1.66481725e-03, 7.49272967e-01, 2.22185192e-04, 1.18264738e-01], [ 3.32686750e-03, 4.98615991e-03, 6.10773692e-03, 7.76923422e-01, 3.21579341e-03, 5.22084073e-01], [ 3.31583614e-03, 4.42111801e-03, 6.64270364e-03, 2.79891849e-01, 4.64525527e-03, 1.07070934e-01], ..., [-1.77514840e-03, 3.25203539e-03, -2.36616496e-03, 3.78614281e-01, -1.65690315e-03, 1.62059553e-01], [ 1.18378232e-03, 1.18378232e-03, -5.91366073e-04, 2.61776007e-01, -2.36588396e-04, 9.26235880e-02], [ 1.18238264e-03, 1.77305011e-03, 0.00000000e+00, -1.33088755e+00, 8.27521031e-04, -1.13084966e+00]]), array([[-4.58059776e-03, 5.44335967e-03, 1.27059174e-02, 6.71502734e-01, 4.25581503e-03, 4.88047512e-02], [ 6.86305239e-03, 1.02828670e-02, 1.43515666e-02, 1.26458606e-02, 7.20744454e-03, -1.57566490e-01], [-6.28932891e-03, 8.57148105e-03, 6.32913505e-03, -8.63383719e-02, -6.88033970e-04, -7.65504478e-02], ..., [ 1.12771368e-03, 2.25542808e-03, 4.51850529e-03, 2.54305302e-01, 2.93470497e-03, 3.60664627e-02], [-2.25670053e-03, 2.82008083e-03, -5.64652754e-04, -4.63917183e-01, 2.25950405e-04, -4.53562952e-01], [ 1.12898685e-03, 1.69300266e-03, 6.22526062e-03, -1.54742698e+00, 1.24195568e-03, -1.16968462e+00]]), array([[-6.66265336e-03, 8.47206278e-03, 1.65444950e-02, -1.16551159e-01, 3.89697869e-03, -2.50802810e-02], [-6.09572140e-03, 7.91721553e-03, 1.22361594e-03, 4.57475230e-02, -4.27090338e-03, 6.94024506e-02], [ 6.11246963e-04, 4.89148025e-03, -3.05064300e-03, 6.97545858e-02, -4.02488652e-03, 1.22753051e-01], ..., [ 1.24185052e-03, 1.86335458e-03, -1.85988894e-03, 2.00568643e-01, 3.10318079e-04, 1.80203345e-01], [ 0.00000000e+00, 3.09981649e-03, 3.10318079e-04, 3.82512299e-01, 6.82826930e-04, 1.17934471e-01], [-1.86335458e-03, 2.48370199e-03, 0.00000000e+00, -5.26651807e-01, -8.69997569e-04, -6.74018349e-01]]), array([[-3.78668802e-03, 4.41641096e-03, -1.26382323e-03, 7.37183856e-01, -2.65218645e-03, 2.88524768e-01], [ 2.52605123e-03, 5.68183347e-03, 1.26222800e-03, 1.74353387e-01, -3.78357931e-04, 4.08219945e-02], [-3.79147374e-03, 4.42199078e-03, -8.19676720e-03, 2.96035629e-01, -3.66532261e-03, 9.28810867e-02], ..., [ 7.27055611e-03, 7.87882864e-03, 1.39819907e-02, -1.01230973e+00, 8.12224128e-03, -3.77506693e-01], [-1.81268932e-03, 5.43479599e-03, 8.50293614e-03, -2.22405271e-01, 3.87808763e-03, -7.68178549e-02], [-2.42204175e-03, 4.23729448e-03, 4.86175373e-03, -1.08990785e+00, 2.42527134e-04, -7.36915231e-01]]), array([[ 3.36795154e-03, 8.99135026e-03, 5.61957084e-03, 9.22005889e-02, -1.12069932e-04, -2.49050813e-01], [ 1.67973164e-03, 5.04768318e-03, -3.90843602e-03, -1.64762394e-01, 1.11894372e-04, -8.02202469e-02], [ 2.79329791e-03, 9.52388151e-03, 5.58035729e-04, -4.43719215e-01, 3.12901859e-03, -9.18243375e-02], ..., [-1.00287373e-02, 1.19333158e-02, -4.31035150e-03, -3.66488525e-01, -6.79233454e-03, -3.70098510e-01], [-1.44092244e-03, 2.87977161e-03, -8.61455435e-03, 7.44242128e-01, -7.08849177e-03, 5.36493778e-01], [-1.20891221e-02, 1.20891221e-02, -2.59318252e-02, -1.47778785e+00, -1.50647434e-02, -1.17475671e+00]]), array([[ 2.80701939e-03, 6.30327755e-03, 0.00000000e+00, 4.81193186e-01, -1.40056045e-03, 1.78889000e-02], [ 1.40056045e-03, 6.54973102e-03, -6.04653005e-03, -3.34576726e-01, -2.79876856e-04, -2.48231341e-01], [ 4.66417919e-04, 1.48598044e-02, -4.66200475e-04, -1.80147270e-01, 1.30651878e-03, -2.93057304e-02], ..., [-1.54479948e-03, 3.60082694e-03, -1.28009941e-02, -2.84296773e-02, -5.44764427e-03, 3.26752285e-02], [ 4.62725761e-03, 7.19612460e-03, -2.04970607e-03, -2.34140654e-01, 8.21060240e-04, -1.73695545e-01], [-3.08245813e-03, 5.14007814e-03, -4.62013142e-03, -1.13413890e+00, -1.23412367e-03, -9.66996191e-01]]), array([[ 1.12264957e-03, 2.80583798e-03, -1.66902344e-02, 1.88046080e-01, -3.58403251e-03, -5.29944866e-02], [-5.61167243e-04, 4.49060536e-03, -6.71331193e-03, -3.76316212e-01, -6.73362912e-04, -6.11655806e-02], [ 5.61167243e-04, 7.29111474e-03, 3.93479991e-03, -2.75894955e-01, 1.12264957e-03, -1.35205494e-01], ..., [ 2.79173827e-03, 2.79173827e-03, 1.00869446e-02, -2.90557588e-01, 5.87167911e-03, -1.16578231e-01], [-3.91061951e-03, 5.58816766e-03, 5.33184931e-03, -5.52131018e-01, 7.27944708e-04, -2.33963920e-01], [-3.36417475e-03, 3.36417475e-03, 0.00000000e+00, -1.58365938e+00, -3.02826611e-03, -1.43365779e+00]]), array([[-1.73010424e-03, 4.61494906e-03, 7.53190119e-03, 1.42870968e-01, 9.23947632e-04, -1.92670707e-02], [-1.15506799e-03, 3.46720948e-03, -1.15506799e-03, -1.25426646e-01, -1.50132838e-03, -1.50272143e-01], [ 1.15506799e-03, 3.46520705e-03, -1.15373535e-03, -1.55966774e-01, -3.46260391e-04, -1.20671191e-01], ..., [ 1.68255788e-03, 1.68255788e-03, -6.70206362e-03, -7.45432747e-01, -1.23207901e-03, -5.76411047e-01], [ 3.35664651e-03, 6.14527074e-03, 5.58659232e-04, -3.36562477e-01, 2.79642240e-03, -1.98674792e-01], [-2.23651198e-03, 3.35664651e-03, 2.80269242e-03, -1.11312867e+00, 8.96007228e-04, -7.94861740e-01]]), array([[-1.24579862e-02, 1.29737160e-02, -5.20970181e-03, -7.87443917e-03, -8.11532311e-03, -2.89919985e-02], [-4.71205060e-03, 6.81344355e-03, -1.19980573e-02, -2.33862310e-01, -1.08566232e-02, -9.50015735e-02], [-4.73435918e-03, 5.78340203e-03, -2.49947925e-02, -2.47842926e-01, -1.22630192e-02, -2.67660403e-01], ..., [ 2.57201788e-03, 3.60268017e-03, 1.60542029e-02, -8.44527796e-01, 5.46055344e-03, -3.45863095e-01], [ 1.02695773e-03, 3.08245813e-03, 7.21095064e-03, 5.10825624e-01, 3.08404254e-03, 4.45086193e-01], [ 1.02590417e-03, 3.32949469e-03, 4.62487977e-03, -1.14213003e+00, 2.46394047e-03, -1.07669700e+00]]), array([[-5.53709870e-04, 3.87168625e-03, 6.11113013e-03, 1.82231693e-01, 6.64856803e-04, 1.29115746e-02], [ 1.66021067e-03, 5.53558015e-03, 4.43336830e-03, -4.02787861e-01, 7.74421988e-04, -2.35221406e-01], [ 1.10527781e-03, 6.07065882e-03, -2.20689745e-03, -3.90057411e-01, 7.73566178e-04, -1.73668258e-01], ..., [-1.16042949e-03, 2.90023405e-03, -2.31951394e-03, 3.40726257e-01, -2.31951394e-03, 2.28354052e-01], [ 5.80383069e-04, 2.61210423e-03, -3.47524242e-03, -4.53557983e-01, -1.39154658e-03, -1.75223035e-01], [-1.16110318e-03, 1.16110318e-03, -4.63634560e-03, -1.10464826e+00, -1.62516723e-03, -1.20361475e+00]]), array([[ 6.10873568e-04, 4.27090338e-03, 1.22212053e-03, -2.18622603e-01, 1.83374135e-03, 6.46640248e-02], [ 1.83038489e-03, 3.66188996e-03, 5.50123637e-03, -1.90849233e-01, 3.05250542e-03, -1.32723243e-01], [-1.21988426e-03, 1.83038489e-03, 4.28135211e-03, -7.23323303e-02, 9.76979989e-04, -1.21533590e-01], ..., [ 4.42199078e-03, 5.05211052e-03, 7.59257048e-03, 3.59957549e-01, 4.92860849e-03, 2.08881814e-01], [ 3.14663570e-03, 4.40806759e-03, 9.46976774e-03, 2.52824333e-01, 5.92388927e-03, 6.21367851e-02], [-1.25746637e-03, 2.51493374e-03, 8.21230137e-03, -9.46343077e-01, 3.02438640e-03, -8.86758526e-01]]), array([[-4.47571080e-03, 5.11673646e-03, -6.38775727e-03, 2.15716868e+00, -4.98594743e-03, 2.11142708e-01], [ 0.00000000e+00, 2.56492606e-03, -5.75081457e-03, 1.89159894e-01, -3.70986737e-03, -2.60954840e-02], [-5.13974790e-03, 5.78407782e-03, -1.34359027e-02, 1.71297594e-01, -6.67653504e-03, 1.42489170e-01], ..., [-6.61375685e-04, 1.32231424e-03, 1.32406507e-03, -5.32085204e-01, -7.93598349e-04, -2.70535299e-01], [-2.64988562e-03, 2.64988562e-03, -5.29276790e-03, 2.61081390e-02, -3.17902116e-03, 2.50206266e-03], [-6.63570031e-04, 1.32758068e-03, -5.29627190e-03, -1.18646977e+00, -2.65164226e-03, -9.33635296e-01]]), array([[-7.29927040e-04, 1.46038726e-03, -7.29927040e-04, 5.56806279e-01, -1.31348530e-03, 3.06493035e-01], [ 2.91651683e-03, 4.37797124e-03, -7.27802070e-04, 5.37774046e-01, 1.16558620e-03, 2.03481211e-01], [ 6.53122786e-03, 6.53122786e-03, 7.98842302e-03, 1.10882747e+00, 6.53122786e-03, 4.39897418e-01], ..., [-1.47983749e-03, 1.47983749e-03, 2.22387045e-03, -4.14624644e-01, 1.48104266e-04, -3.16523268e-01], [ 7.40192484e-04, 2.21893582e-03, 1.48093326e-03, -6.54434446e-01, 2.96011251e-04, -3.57995693e-01], [ 1.47874334e-03, 1.47874334e-03, 1.47874334e-03, -1.44782621e+00, 1.18281968e-03, -1.11274173e+00]]), array([[ 8.91441752e-03, 8.91441752e-03, 2.04938328e-02, 3.86741478e+00, 1.16043128e-02, 7.08078487e-02], [ 4.42758472e-03, 5.69621793e-03, 1.91149496e-02, 1.45049654e-01, 1.10421226e-02, 1.48386676e-01], [ 6.30914847e-04, 5.03620832e-03, 1.91027776e-02, 6.26093386e-01, 7.72449073e-03, 3.69228035e-01], ..., [-4.23217077e-03, 4.83823139e-03, 6.06060625e-04, 2.46300537e-01, 1.21182744e-04, 1.39822204e-01], [ 3.02480569e-03, 4.23217077e-03, 7.88360663e-03, 1.69331693e-01, 2.41911216e-03, 6.14096178e-02], [ 1.81050140e-03, 2.41473103e-03, 4.22961356e-03, -6.85463445e-01, 2.29385589e-03, -6.69990574e-01]]), array([[-1.84275236e-03, 4.29448513e-03, -1.82764758e-02, 5.12664320e-01, -7.59481816e-03, -1.21951579e-01], [ 1.22887880e-03, 4.29448513e-03, -1.34189266e-02, -1.31668045e-01, -2.94316234e-03, -4.23790147e-02], [ 6.13873561e-04, 4.91854665e-03, -1.22661776e-03, -7.13193777e-02, 2.45504205e-04, 1.14459846e-01], ..., [-6.49350672e-04, 1.94678841e-03, -1.29075687e-02, 1.49248336e-01, -6.47460986e-03, 8.98901473e-02], [ 0.00000000e+00, 4.54841590e-03, -1.54692095e-02, -9.74621653e-02, -3.88979421e-03, -1.30787414e-01], [ 6.49350672e-04, 2.59993647e-03, -2.59319432e-03, -1.76059244e+00, -2.59622251e-04, -1.59526914e+00]]), array([[-1.34183180e-03, 9.39919642e-03, -6.02411460e-03, 8.34441980e-01, 1.34363473e-03, 1.43020147e-01], [-1.01215439e-02, 1.07926849e-02, 6.78426078e-04, -1.69861922e-01, -5.54580077e-03, 6.63947339e-02], [ 3.38524358e-03, 4.05817263e-03, -3.37382236e-03, 4.15242481e-01, -2.96956417e-03, 1.79083562e-01], ..., [ 7.26216444e-04, 2.17706907e-03, -7.95376572e-03, -1.69238864e-01, -2.89960334e-03, -1.29676303e-01], [ 1.45085263e-03, 2.89960334e-03, -4.33997065e-03, -7.73268831e-01, -1.44969557e-04, -5.54865220e-01], [ 1.44875071e-03, 1.44875071e-03, 1.44875071e-03, -1.30022107e+00, 1.88378552e-03, -9.52773339e-01]]), array([[ 0.00565973, 0.00847762, -0.00140994, -0.05698231, 0.00226005, 0.08577313], [ 0.00422387, 0.00563183, 0.00422387, 0.27953984, 0.00591843, 0.14352274], [ 0.00490541, 0.00771392, 0.01620895, 0.0126181 , 0.00898819, -0.02474592], ..., [ 0. , 0.00286021, -0.00498932, 0.15664999, -0.00199872, 0.08954306], [-0.0014301 , 0.00214439, -0.00570819, -0.12212924, -0.00214439, -0.11622266], [-0.002149 , 0.00502153, -0.00429339, -1.05509627, -0.00272128, -0.91904092]]), array([[ 0.00536734, 0.00737763, -0.00733337, 0.4750379 , -0.00240594, 0.20635066], [ 0.00200535, 0.00467291, -0.00798142, 0.5049274 , 0.000668 , 0.11427788], [ 0.00399867, 0.00868409, 0.00600402, 0.10132394, 0.00546887, -0.17027735], ..., [ 0. , 0.00311139, 0.01000321, -0.15375753, 0.00361461, -0.15416093], [ 0. , 0.0028033 , 0.0043641 , -0.43521957, 0.00161873, -0.23061018], [ 0.00124339, 0.00186567, 0.00498288, -0.2546232 , 0.00174119, -0.09875934]]), array([[-1.09749326e-02, 1.09749326e-02, -8.40341080e-03, 1.40755636e+00, -6.47042050e-03, -6.37052078e-02], [-4.55433448e-03, 5.85177223e-03, -9.73401586e-03, -4.22425143e-01, -8.44160857e-03, -1.13989216e-01], [-4.57517138e-03, 7.84061514e-03, -1.68890016e-02, -4.55023816e-01, -1.01675907e-02, -2.60235857e-01], ..., [ 6.71591698e-04, 2.01612972e-03, 5.38540514e-03, -3.79417483e-01, 4.98049219e-03, -2.16355929e-01], [ 5.35655784e-03, 7.37268755e-03, 1.88748441e-02, -1.07260513e+00, 8.18027895e-03, -5.30741503e-01], [-1.33645192e-03, 4.66978834e-03, 9.40551106e-03, -1.48372114e+00, 3.34896495e-03, -1.21025450e+00]]), array([[-2.00534827e-03, 4.67290570e-03, -9.98676742e-03, 4.58605079e-01, -4.67290570e-03, -2.75807596e-02], [-4.69484430e-03, 5.36733929e-03, -1.06988650e-02, 1.62859737e-01, -6.43304504e-03, 2.07682275e-01], [ 1.34363473e-03, 2.68546654e-03, -8.68989426e-03, 1.11593279e-01, -3.21737659e-03, 3.68367688e-02], ..., [-2.12014214e-03, 3.53107712e-03, -7.07213608e-04, 2.63080660e-01, -2.68475504e-03, 3.04282991e-01], [ 7.07213608e-04, 2.12164153e-03, -3.52858517e-03, -3.72765444e-01, -1.97754143e-03, -4.57166929e-01], [ 7.06713810e-04, 1.41292853e-03, -4.93306145e-03, -1.19392766e+00, -7.06214719e-04, -1.01536236e+00]]), array([[ 7.62195159e-04, 6.85455845e-03, -2.28310601e-03, 8.06396782e-01, -1.52369344e-04, 3.73502317e-01], [ 0.00000000e+00, 3.04762141e-03, -1.52264970e-03, 1.00815072e+00, 3.04808354e-04, 4.08887317e-01], [ 1.52264970e-03, 2.28310601e-03, 3.81098022e-03, -8.31609626e-02, 1.82745806e-03, -2.02652101e-01], ..., [-7.96812791e-04, 3.97772999e-03, 2.39425493e-03, 1.17663897e+00, -9.56099188e-04, 3.90018446e-01], [-2.39425493e-03, 4.79042832e-03, -3.98724611e-03, 1.82847295e-01, -3.35035412e-03, 5.54927606e-03], [ 2.39425493e-03, 2.39425493e-03, -4.77138082e-03, -1.59111283e+00, -6.37501018e-04, -1.42455418e+00]]), array([[-2.40000115e-03, 4.79425609e-03, -7.97770486e-03, -1.60836361e+00, -3.35839113e-03, -9.71030933e-01], [-6.42830659e-03, 7.22894714e-03, -8.82830774e-03, -1.15612932e+00, -6.90876784e-03, -4.20321515e-01], [ 5.62702449e-03, 5.62702449e-03, -4.79808997e-03, -7.15565818e-01, -6.41077031e-04, -6.43860251e-02], ..., [ 8.39630612e-04, 8.39630612e-04, -7.52511912e-03, -1.03107165e+00, -1.84470956e-03, -5.64760606e-01], [-8.39630612e-04, 8.39630612e-04, -4.19112097e-03, 1.28603280e-01, -1.00747217e-03, 1.05066472e-01], [ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, -6.03919817e-01, -1.67982530e-04, -4.03086784e-01]]), array([[-1.78651231e-03, 4.46031070e-03, -7.12697894e-03, 5.57235924e-01, -3.21342774e-03, 2.81278933e-01], [-4.48029423e-03, 4.48029423e-03, -7.15886726e-03, 1.87085675e-01, -5.37394934e-03, 1.18219554e-01], [-1.79775329e-03, 1.79775329e-03, -1.07383582e-02, 1.88090625e-01, -5.38359308e-03, 8.95240201e-02], ..., [ 1.80750162e-03, 2.71002876e-03, 5.43233568e-03, -5.88585074e-01, 2.71247906e-03, -3.93803975e-01], [-2.71247906e-03, 5.42742174e-03, 0.00000000e+00, -3.97420114e-01, -5.43084735e-04, -2.02114339e-01], [ 9.04977437e-04, 9.04977437e-04, 1.81077460e-03, -1.73528120e+00, 1.80929981e-04, -1.22113949e+00]]), array([[-3.60848384e-03, 3.60848384e-03, -3.60848384e-03, 1.78494462e+00, -2.16665247e-03, 1.65103025e-01], [-2.71493379e-03, 2.26295639e-03, -5.42251668e-03, 8.78407683e-02, -3.61827622e-03, 2.97125820e-01], [-1.81405945e-03, 2.71985662e-03, -5.43233568e-03, 5.22391460e-01, -3.98659584e-03, 2.25399220e-01], ..., [ 0.00000000e+00, 0.00000000e+00, 1.83402161e-03, -1.18302098e-01, 7.33205055e-04, 1.04069551e-03], [ 9.15750980e-04, 9.15750980e-04, 1.83234133e-03, -2.33387953e-01, 1.09900185e-03, -1.34883658e-01], [ 0.00000000e+00, 0.00000000e+00, 1.83234133e-03, -1.21148736e+00, 7.32533684e-04, -1.04248192e+00]]), array([[ 3.74707698e-03, 4.68165649e-03, 8.45075452e-03, 2.66534306e-01, 5.62589388e-03, 9.53344446e-02], [ 4.66418756e-03, 5.59964132e-03, 1.21724349e-02, 7.13234626e-02, 7.66072506e-03, -4.33063374e-02], [-9.31098764e-04, 1.86133139e-03, 1.21838433e-02, -2.57866317e-01, 4.48138179e-03, -1.33107132e-01], [-4.66854256e-03, 4.66854256e-03, 2.81162322e-03, 1.25659793e-01, -1.68318723e-03, 9.08705331e-02], [ 9.35453763e-04, 9.35453763e-04, 0.00000000e+00, 1.97323218e-01, -1.49490825e-03, 2.09689325e-01], [ 9.34579507e-04, 1.86828639e-03, -3.72960805e-03, 2.03837853e-01, -7.47035239e-04, 8.60111540e-02], [-2.80636293e-03, 2.80636293e-03, -5.60487222e-03, 3.01905487e-01, -2.24572004e-03, 5.00025198e-02], [-4.69484430e-03, 4.69484430e-03, -5.63117396e-03, 1.88419411e-01, -4.88218039e-03, 7.65225521e-02], [ 2.81955074e-03, 2.81955074e-03, -3.74707698e-03, 7.27803218e-02, -1.50051608e-03, 9.65249749e-02], [-4.70367753e-03, 4.70367753e-03, -9.38533403e-03, 3.69572185e-01, -4.51595461e-03, 2.28820843e-01], [-9.43396296e-04, 1.88590343e-03, -7.52236739e-03, 4.81444752e-01, -3.39206959e-03, 2.41846590e-01], [-2.83554065e-03, 3.31047831e-03, -5.66306374e-03, 3.41455995e-01, -4.15604641e-03, 1.18720467e-01], [-9.46969768e-04, 9.46969768e-04, -9.42958425e-03, 5.96938324e-01, -3.78251042e-03, 3.04192003e-01], [ 9.46969768e-04, 3.78609066e-03, -3.77893695e-03, -1.71315783e-01, -1.13518128e-03, -2.74575342e-01], [ 9.46073864e-04, 1.89304363e-03, -1.88946679e-03, -1.96159078e-01, 3.78322146e-04, -1.69282223e-01], [-9.46073864e-04, 9.46073864e-04, 0.00000000e+00, -4.49412340e-01, 8.88178420e-16, -3.79004141e-01], [ 9.46073864e-04, 2.84091100e-03, 1.89304363e-03, -4.95990921e-01, 7.56787473e-04, -6.44312574e-02], [ 9.45179654e-04, 1.88946679e-03, 1.89125352e-03, 3.84828195e-01, 1.13432284e-03, 2.95792189e-01], [ 0.00000000e+00, 1.89125352e-03, 9.45179654e-04, -1.51575471e-01, 7.56072241e-04, -1.38526358e-01], [ 9.44287133e-04, 9.44287133e-04, 2.83554065e-03, 8.09895173e-01, 1.32225180e-03, 4.01802912e-01], [ 9.43396296e-04, 2.83019057e-03, 2.83286308e-03, 4.57695555e-01, 1.50986157e-03, 1.94632848e-01], [-6.62254076e-03, 6.62254076e-03, -4.73485733e-03, -4.46518468e-01, -4.35689267e-03, -3.83848650e-01], [ 9.48766675e-04, 9.48766675e-04, -3.78609066e-03, -7.76987735e-02, -2.65176782e-03, -3.69421003e-01], [ 0.00000000e+00, 9.47867370e-04, -4.73037779e-03, -5.07183081e-01, -1.89483714e-03, -1.55802324e-01], [ 0.00000000e+00, 9.47867370e-04, -5.67377409e-03, -5.28864178e-02, -9.47867370e-04, 2.60792329e-01], [ 0.00000000e+00, 9.47867370e-04, 9.48766675e-04, 6.82899129e-01, 1.89681336e-04, 3.73949452e-01], [ 3.78609066e-03, 4.73037779e-03, 3.78609066e-03, 2.54759573e-01, 3.02772490e-03, -1.58737290e-01], [ 9.44287133e-04, 9.44287133e-04, 4.73037779e-03, -2.01544571e-01, 3.02486288e-03, -3.80626229e-01], [ 3.76825693e-03, 3.76825693e-03, 8.49863472e-03, -9.40293429e-02, 5.09050873e-03, 5.52096946e-02], [-2.82486064e-03, 3.76471033e-03, 5.67377409e-03, -5.52385204e-01, 1.13218240e-03, -1.84061735e-01], [ 9.42507139e-04, 9.42507139e-04, 2.83019057e-03, 7.64067807e-02, 7.53934632e-04, 4.64150589e-02], [ 0.00000000e+00, 9.42507139e-04, 1.88590343e-03, 2.81426635e-01, 1.88430376e-04, 2.17746317e-02], [-1.88590343e-03, 1.88590343e-03, -3.76825693e-03, -1.08231114e-01, -1.69747306e-03, 5.30957796e-02], [ 1.88590343e-03, 1.88590343e-03, 9.42507139e-04, -3.20708395e-02, 5.65397678e-04, -1.19689862e-01], [ 0.00000000e+00, 1.88412679e-03, 0.00000000e+00, -2.57229341e-01, 3.76896264e-04, -1.97395492e-01], [ 0.00000000e+00, 1.88412679e-03, 0.00000000e+00, -1.30221149e-01, 3.76896264e-04, -5.36419808e-02], [-1.88590343e-03, 1.88590343e-03, 0.00000000e+00, -1.66619133e-01, -1.13196880e-03, 2.44846794e-02], [ 2.82752309e-03, 2.35571369e-03, 9.41619655e-04, -1.13402082e-01, 1.13005003e-03, -9.18611169e-02], [ 0.00000000e+00, 9.40733842e-04, 9.41619655e-04, 3.09310609e-01, 9.41619655e-04, 1.83792246e-01], [ 0.00000000e+00, 1.88235350e-03, 9.41619655e-04, 3.81867651e-02, 7.53224779e-04, -9.19669812e-04], [-9.41619655e-04, 9.41619655e-04, 1.88590343e-03, -2.53948334e-01, -1.88394876e-04, -1.95011163e-01], [-9.42507139e-04, 9.42507139e-04, -1.88412679e-03, 3.70746544e-01, -1.31926141e-03, 1.96901800e-01], [ 9.42507139e-04, 1.88590343e-03, -9.41619655e-04, -1.16901270e-01, -1.88394876e-04, -6.33378762e-03], [-9.42507139e-04, 1.88412679e-03, -1.88412679e-03, -6.88803826e-02, -7.54076763e-04, -6.81838536e-02], [-9.43396296e-04, 9.43396296e-04, -1.88590343e-03, 1.56074807e-01, -1.13196880e-03, -5.71524763e-02], [ 0.00000000e+00, 1.88946679e-03, -9.43396296e-04, -1.58980844e-01, -7.54788223e-04, 1.07560878e-02], [-2.83554065e-03, 5.67377409e-03, -4.72144409e-03, 9.64437717e-02, -2.83554065e-03, 1.16469966e-01], [-6.64769780e-03, 7.12761392e-03, -1.04266347e-02, 5.95169384e-01, -7.21544951e-03, 3.86779369e-01], [ 2.85442630e-03, 2.85442630e-03, -6.62881215e-03, 9.70515694e-03, -2.84630173e-03, -2.02722113e-01], [-9.50570414e-04, 9.50570414e-04, -7.57938257e-03, 3.40968657e-02, -2.27985280e-03, -8.69539745e-02], [ 0.00000000e+00, 2.85442630e-03, -4.74384191e-03, -2.59054152e-01, -7.60528604e-04, -2.62385910e-01], [ 2.84900478e-03, 3.79687215e-03, 4.75286066e-03, -8.08020643e-01, 2.46866817e-03, -3.50073329e-01], [-9.48766675e-04, 1.89843436e-03, 9.49667688e-04, -1.11923719e-01, 7.59661987e-04, -6.89586728e-02], [ 4.73485733e-03, 4.73485733e-03, 6.63509543e-03, -2.45128836e-01, 4.35524264e-03, -3.95760962e-02], [ 2.83019057e-03, 3.77181022e-03, 9.46528600e-03, -2.92226039e-01, 5.28951833e-03, -1.89166182e-01], [-3.77537022e-03, 5.66841385e-03, 2.84091100e-03, 1.42166547e-01, 3.78322146e-04, 9.06387159e-02], [-9.46073864e-04, 9.46073864e-04, 2.84360381e-03, 1.59211206e-01, -9.46073864e-04, 1.58895581e-01], [ 1.89125352e-03, 1.89125352e-03, 0.00000000e+00, 1.15111848e-01, 8.88178420e-16, 9.74793572e-02], [ 9.44287133e-04, 9.44287133e-04, -1.88590343e-03, 3.25799238e-01, 7.55358359e-04, 4.24010940e-02], [ 9.43396296e-04, 9.43396296e-04, 2.83286308e-03, -4.27398836e-02, 1.88768343e-03, -8.87100048e-02], [ 1.88412679e-03, 2.82752309e-03, 5.66306374e-03, -1.50078722e-01, 2.82752309e-03, -6.65160367e-02], [ 3.75763711e-03, 4.69925677e-03, 7.52944734e-03, 4.65338821e-02, 4.69925677e-03, 9.22598014e-02], [-2.81690327e-03, 3.75763711e-03, 3.76825693e-03, 4.90484076e-01, 9.40733842e-04, 3.83769375e-01], [-1.88235350e-03, 2.82486064e-03, 9.42507139e-04, 2.86997997e-01, -1.31801940e-03, 5.01172360e-02], [-9.42507139e-04, 1.88412679e-03, -1.88412679e-03, 2.25993835e-01, -2.26052653e-03, -3.60545660e-02], [ 0.00000000e+00, 0.00000000e+00, -5.64176391e-03, 3.52167943e-01, -1.88412679e-03, 1.53064112e-01], [ 0.00000000e+00, 0.00000000e+00, -2.82486064e-03, -6.29217597e-02, -7.54076763e-04, 7.75763602e-02], [-9.43396296e-04, 9.43396296e-04, -1.88590343e-03, 1.40973491e-01, -9.43396296e-04, 1.92987182e-02], [ 9.43396296e-04, 9.43396296e-04, 0.00000000e+00, 9.56007858e-02, 1.88608073e-04, -7.90822413e-02], [-2.83286308e-03, 2.83286308e-03, -2.83286308e-03, -3.50879203e-01, -2.07821726e-03, -2.27795779e-01], [ 0.00000000e+00, 9.45179654e-04, -2.83286308e-03, -4.13511828e-01, -1.51185893e-03, -2.19929376e-01], [ 1.88946679e-03, 1.88946679e-03, 0.00000000e+00, -3.98954111e-01, 5.66465272e-04, -1.98336724e-01], [ 2.82752309e-03, 3.76825693e-03, 1.88412679e-03, -9.07777504e-02, 2.82752309e-03, 6.19117295e-02], [-9.41619655e-04, 9.41619655e-04, 3.77537022e-03, -6.35356552e-01, 1.69715296e-03, -5.05121992e-01]]), array([[ 0.00000000e+00, 3.72266600e-03, -8.34110489e-03, 2.08035426e-02, -4.08656647e-03, -5.44787640e-02], [-9.31098764e-04, 5.57363264e-03, -9.27220366e-03, 4.33873263e-02, -3.16220502e-03, 6.15363718e-02], [ 0.00000000e+00, 1.86306528e-03, -4.64684851e-03, 4.68357848e-03, -1.30329566e-03, 7.64581391e-02], ..., [-9.35453763e-04, 9.35453763e-04, 7.51530075e-03, 1.99589860e-01, 1.49854856e-03, 1.41380602e-02], [-9.36329656e-04, 2.80899061e-03, 0.00000000e+00, -2.06341503e-01, -7.49133849e-04, -8.97198406e-02], [ 0.00000000e+00, 9.37207191e-04, -9.36329656e-04, -1.24569221e+00, -7.49133849e-04, -1.09046102e+00]]), array([[ 4.77555826e-03, 4.77100142e-03, 6.69218559e-03, 1.53961497e-01, 5.15858996e-03, 6.72712789e-02], [-8.61249343e-03, 9.56487445e-03, -1.92030784e-03, 7.07982309e-02, -3.07072499e-03, 1.56700456e-02], [-3.85171396e-03, 6.75026671e-03, -4.81232883e-03, 1.16471671e-01, -5.77202180e-03, 2.79870614e-02], ..., [ 0.00000000e+00, 9.89119764e-04, -1.97726214e-03, 9.03053689e-01, -1.18682637e-03, 2.23294341e-01], [ 9.89119764e-04, 9.89119764e-04, -1.97530928e-03, 1.98676130e-01, 0.00000000e+00, -2.21449624e-01], [ 0.00000000e+00, 9.89119764e-04, 0.00000000e+00, -9.23800190e-01, 3.95530510e-04, -1.10569104e+00]])]
In [12]:
len(dataArray)
Out[12]:
35
In [21]:
finalArray = np.concatenate(dataArray)#dataArray is a list contains 35 arrays.
len(finalArray)
Out[21]:
12814
- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
Comments
Post a Comment