#NEWLINE# def test_nancorr_kendall( self ) : #NEWLINE# #INDENT# tm . skip_if_no_package ( 'scipy.stats' ) #NEWLINE# from scipy.stats import kendalltau #NEWLINE# targ0 = kendalltau ( self . arr_float_2d , self . arr_float1_2d ) [ 0 ] #NEWLINE# targ1 = kendalltau ( self . arr_float_2d . flat , self . arr_float1_2d . flat ) [ 0 ] #NEWLINE# self . check_nancorr_nancov_2d ( nanops . nancorr , targ0 , targ1 , method = 'kendall' ) #NEWLINE# targ0 = kendalltau ( self . arr_float_1d , self . arr_float1_1d ) [ 0 ] #NEWLINE# targ1 = kendalltau ( self . arr_float_1d . flat , self . arr_float1_1d . flat ) [ 0 ] #NEWLINE# self . check_nancorr_nancov_1d ( nanops . nancorr , targ0 , targ0 , method = 'kendall' )