File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -199,17 +199,15 @@ describe("corrWith – with DataFrame", () => {
199199 it ( "property: correlating a DataFrame with itself on all columns returns 1 or NaN" , ( ) => {
200200 fc . assert (
201201 fc . property (
202- fc
203- . integer ( { min : 3 , max : 5 } )
204- . chain ( ( len ) =>
205- fc . array (
206- fc . array ( fc . float ( { noNaN : true , noDefaultInfinity : true } ) , {
207- minLength : len ,
208- maxLength : len ,
209- } ) ,
210- { minLength : 1 , maxLength : 3 } ,
211- ) ,
202+ fc . integer ( { min : 3 , max : 5 } ) . chain ( ( len ) =>
203+ fc . array (
204+ fc . array ( fc . float ( { noNaN : true , noDefaultInfinity : true } ) , {
205+ minLength : len ,
206+ maxLength : len ,
207+ } ) ,
208+ { minLength : 1 , maxLength : 3 } ,
212209 ) ,
210+ ) ,
213211 ( cols ) => {
214212 const data : Record < string , number [ ] > = { } ;
215213 for ( let i = 0 ; i < cols . length ; i ++ ) {
You can’t perform that action at this time.
0 commit comments