Thanh Vinh Vo commited on
Commit
b913f84
·
1 Parent(s): 225b4d8
Files changed (2) hide show
  1. NOTES +2 -0
  2. app.py +2 -1
NOTES ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ - Code Model is not always good, struggle with left right question
2
+ - Provide tool is better than prompt
app.py CHANGED
@@ -41,7 +41,8 @@ def extract_table_from_html(html: str, match: str | None = None) -> list:
41
  match (str | None, optional): A string or regular expression pattern to match
42
  against table text content. Only tables containing
43
  this pattern will be returned. If None, all tables
44
- are extracted. Defaults to None.
 
45
 
46
  Returns:
47
  list: A list of pandas DataFrames, where each DataFrame represents a table found
 
41
  match (str | None, optional): A string or regular expression pattern to match
42
  against table text content. Only tables containing
43
  this pattern will be returned. If None, all tables
44
+ are extracted. Defaults to None.
45
+ DO NOT use HTML strings / tags in this parameter.
46
 
47
  Returns:
48
  list: A list of pandas DataFrames, where each DataFrame represents a table found