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 ...
Just want to spend this life happier.