hernamesbarbara / table2csv

Extract data from an HTML table and store results to a csv file.
38 stars 10 forks source link

Error #5

Open thangarajan8 opened 7 years ago

thangarajan8 commented 7 years ago

markup_type=markup_type)) Traceback (most recent call last): File "C:/Thanga/Work/python/uni/ws2/dataextractor/pythonMaster/tests/html_extractor.py", line 8, in <module> df = table2csv.find_nth_from_top(soup, 2) # df is a pandas dataframe File "C:\Program Files\Anaconda\lib\site-packages\table2csv\tf1.py", line 75, in find_nth_from_top return to_dataframe(table) File "C:\Program Files\Anaconda\lib\site-packages\table2csv\tf1.py", line 119, in to_dataframe data = extract_all_data(table) File "C:\Program Files\Anaconda\lib\site-packages\table2csv\tf1.py", line 106, in extract_all_data colnames += map(lambda x: add_column(x, suffix='link'), colnames) File "C:\Program Files\Anaconda\lib\site-packages\table2csv\tf1.py", line 106, in <lambda> colnames += map(lambda x: add_column(x, suffix='link'), colnames) File "C:\Program Files\Anaconda\lib\site-packages\table2csv\tf1.py", line 49, in add_column return colname+'_'+suffix MemoryError