#NEWLINE# def bench_join_index( df , it = 10 ) : #NEWLINE# #INDENT# left = df . reindex ( index = np . arange ( 0 , N , 2 ) , columns = np . arange ( ( K // 2 ) ) ) #NEWLINE# right = df . reindex ( columns = np . arange ( ( ( K // 2 ) + 1 ) , K ) ) #NEWLINE# for i in range ( it ) : #NEWLINE# #INDENT# joined = left . join ( right )