MCPcopy Create free account

hub / github.com/austinogilvie/table2csv / functions

Functions24 in github.com/austinogilvie/table2csv

↓ 3 callersFunctionextract_txt
(tag)
table2csv/tf1.py:90
↓ 3 callersFunctionfind_all_tables
(soup)
table2csv/tf1.py:64
↓ 3 callersFunctionto_dataframe
Takes a list of lists. Returns a DataFrame. Assumes columns are in table[0].
table2csv/tf1.py:115
↓ 1 callersFunctionadd_column
(colname, suffix)
table2csv/tf1.py:48
↓ 1 callersFunctionconsolidate
Takes a list of DataFrames. Returns a dictionary. Returns: {'col_a|col_b': df}
table2csv/tf1.py:140
↓ 1 callersFunctioncount_tables
(soup)
table2csv/tf1.py:58
↓ 1 callersFunctiondump_to_stdout
(frame, drop_missing=True, sep=',')
table2csv/tf1.py:181
↓ 1 callersFunctionextract_all_data
(table)
table2csv/tf1.py:99
↓ 1 callersFunctionextract_links
(tag, sep=',')
table2csv/tf1.py:93
↓ 1 callersFunctionfigure_out_what_to_do
(params)
table2csv/main.py:24
↓ 1 callersFunctionfind_nth_from_top
Find all tables on the page. Return the nth from the top.
table2csv/tf1.py:67
↓ 1 callersFunctionget_soup
(url)
table2csv/tf1.py:51
↓ 1 callersFunctionhash_column_names
Returns a pipe delimited ('hashed') representation of a list.
table2csv/tf1.py:132
↓ 1 callersFunctionmain
()
table2csv/main.py:34
↓ 1 callersFunctionreadme
()
setup.py:3
↓ 1 callersFunctionrm_non_ascii
remove any non ascii characters
table2csv/tf1.py:13
↓ 1 callersFunctionrm_punct
remove all punctuation except for underscore.
table2csv/tf1.py:23
↓ 1 callersFunctionvalid
(params)
table2csv/main.py:16
Functionfind_biggest_group_of_tables
Takes a soup. Returns a DataFrame. Args: soup => BeautifulSoup Returns: The biggest DataFrame resulting in a consolidatio
table2csv/tf1.py:158
Functionfind_biggest_single_table
Find all tables on the page. Return the biggest as a DataFrame.
table2csv/tf1.py:77
Functionfunc
(soup)
table2csv/main.py:28
Functionhas_tables
(soup)
table2csv/tf1.py:61
Functionrm_quotes
(txt)
table2csv/tf1.py:33
Functionsnakify
downcases and swap spaces for underscore.
table2csv/tf1.py:38