File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ executable one_billion_row_challenge
192192 directory >= 1.3.0.0 && <= 1.3.9.0 ,
193193 hashable >= 1.2 && <= 1.5.0.0 ,
194194 snappy >= 0.2.0.0 && <= 0.2.0.4 ,
195- statistics >= 0.16.2.1 && <= 0.16.3.0 ,
195+ statistics >= 0.16.2.1 && < 0.16.3.0 ,
196196 template-haskell >= 2.0 && <= 2.30 ,
197197 text >= 2.0 && <= 2.1.2 ,
198198 time >= 1.12 && <= 1.14 ,
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ correlation :: T.Text -> T.Text -> DataFrame -> Maybe Double
9191correlation first second df = do
9292 f <- _getColumnAsDouble first df
9393 s <- _getColumnAsDouble second df
94- return $ SS. correlation2 f s
94+ return $ SS. correlation ( VG. zip f s)
9595
9696_getColumnAsDouble :: T. Text -> DataFrame -> Maybe (VU. Vector Double )
9797_getColumnAsDouble name df = case getColumn name df of
You can’t perform that action at this time.
0 commit comments