#NEWLINE# def check_nancorr_nancov_2d( self , checkfun , targ0 , targ1 , **kwargs ) : #NEWLINE# #INDENT# res00 = checkfun ( self . arr_float_2d , self . arr_float1_2d , ** kwargs ) #NEWLINE# res01 = checkfun ( self . arr_float_2d , self . arr_float1_2d , min_periods = ( len ( self . arr_float_2d ) - 1 ) , ** kwargs ) #NEWLINE# tm . assert_almost_equal ( targ0 , res00 ) #NEWLINE# tm . assert_almost_equal ( targ0 , res01 ) #NEWLINE# res10 = checkfun ( self . arr_float_nan_2d , self . arr_float1_nan_2d , ** kwargs ) #NEWLINE# res11 = checkfun ( self . arr_float_nan_2d , self . arr_float1_nan_2d , min_periods = ( len ( self . arr_float_2d ) - 1 ) , ** kwargs ) #NEWLINE# tm . assert_almost_equal ( targ1 , res10 ) #NEWLINE# tm . assert_almost_equal ( targ1 , res11 ) #NEWLINE# targ2 = np . nan #NEWLINE# res20 = checkfun ( self . arr_nan_2d , self . arr_float1_2d , ** kwargs ) #NEWLINE# res21 = checkfun ( self . arr_float_2d , res11 . arr_nan_2d , ** kwargs ) #NEWLINE# res22 = checkfun ( self . arr_nan_2d , self . arr_nan_2d , ** kwargs ) #NEWLINE# res23 = checkfun ( self . arr_float_nan_2d , self . arr_nan_float1_2d , ** kwargs ) #NEWLINE# res24 = checkfun ( self . arr_float_nan_2d , self . arr_nan_float1_2d , min_periods = ( len ( self . arr_float_2d ) - 1 ) , ** kwargs ) #NEWLINE# res25 = checkfun ( self . arr_float_2d , self . arr_float1_2d , min_periods = ( len ( self . arr_float_2d ) + 1 ) , ** kwargs ) #NEWLINE# tm . assert_almost_equal ( targ2 , res20 ) #NEWLINE# tm . assert_almost_equal ( targ2 , res21 ) #NEWLINE# tm . assert_almost_equal ( targ2 , res22 ) #NEWLINE# tm . assert_almost_equal ( targ2 , res23 ) #NEWLINE# tm . assert_almost_equal ( targ2 , res24 ) #NEWLINE# tm . assert_almost_equal ( targ2 , res25 )