#NEWLINE# def test_nyse_wsj_commas_table( self ) : #NEWLINE# #INDENT# data = os . path . join ( DATA_PATH , 'nyse_wsj.html' ) #NEWLINE# df = self . read_html ( data , index_col = 0 , header = 0 , attrs = { #NEWLINE# #INDENT# 'class' : 'mdcTable' , #NEWLINE# #UNINDENT# } ) [ 0 ] #NEWLINE# columns = Index ( [ 'Issue(Roll over for charts and headlines)' , 'Volume' , 'Price' , 'Chg' , '% Chg' ] ) #NEWLINE# nrows = 100 #NEWLINE# self . assertEqual ( df . shape [ 0 ] , nrows ) #NEWLINE# self . assertTrue ( df . columns . equals ( columns ) )