#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# ( arr , index ) = _test_data1 ( ) #NEWLINE# date_index = bdate_range ( '1/1/2011' , periods = len ( index ) ) #NEWLINE# self . bseries = SparseSeries ( arr , index = index , kind = 'block' , name = 'bseries' ) #NEWLINE# self . ts = self . bseries #NEWLINE# self . btseries = SparseSeries ( arr , index = date_index , kind = 'block' ) #NEWLINE# self . iseries = SparseSeries ( index , index = index , kind = 'integer' , name = 'iseries' ) #NEWLINE# ( arr , index ) = _test_data2 ( ) #NEWLINE# self . bseries2 = SparseSeries ( arr , index = index , kind = 'block' ) #NEWLINE# self . iseries2 = SparseSeries ( arr , index = index , kind = 'integer' ) #NEWLINE# ( arr , index ) = _test_data1_zero ( ) #NEWLINE# self . zbseries = SparseSeries ( arr , index = index , kind = 'block' , fill_value = 0 , name = 'zbseries' ) #NEWLINE# self . ziseries = SparseSeries ( arr , index = index , kind = 'integer' , fill_value = 0 ) #NEWLINE# ( arr , index ) = _test_data2_zero ( ) #NEWLINE# self . zbseries2 = SparseSeries ( arr , index = index , kind = 'block' , fill_value = 0 ) #NEWLINE# self . ziseries2 = SparseSeries ( arr , index = index , kind = 'integer' , fill_value = 0 )