Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no tables found in pd.read_html #80

Open
Ark2000 opened this issue Dec 14, 2023 · 0 comments
Open

no tables found in pd.read_html #80

Ark2000 opened this issue Dec 14, 2023 · 0 comments

Comments

@Ark2000
Copy link

Ark2000 commented Dec 14, 2023

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[4], [line 1](vscode-notebook-cell:?execution_count=4&line=1)
----> [1](vscode-notebook-cell:?execution_count=4&line=1) tabs = pd.read_html('https://github.com/lixin4ever/Conference-Acceptance-Rate/blob/master/README.md')
      [3](vscode-notebook-cell:?execution_count=4&line=3) dfs = []
      [4](vscode-notebook-cell:?execution_count=4&line=4) for t0 in tabs:

File [c:\Users\admin\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\util\_decorators.py:311](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/util/_decorators.py:311), in deprecate_nonkeyword_arguments.<locals>.decorate.<locals>.wrapper(*args, **kwargs)
    [305](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/util/_decorators.py:305) if len(args) > num_allow_args:
    [306](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/util/_decorators.py:306)     warnings.warn(
    [307](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/util/_decorators.py:307)         msg.format(arguments=arguments),
    [308](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/util/_decorators.py:308)         FutureWarning,
    [309](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/util/_decorators.py:309)         stacklevel=stacklevel,
    [310](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/util/_decorators.py:310)     )
--> [311](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/util/_decorators.py:311) return func(*args, **kwargs)

File [c:\Users\admin\AppData\Local\Programs\Python\Python39\lib\site-packages\pandas\io\html.py:1098](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/io/html.py:1098), in read_html(io, match, flavor, header, index_col, skiprows, attrs, parse_dates, thousands, encoding, decimal, converters, na_values, keep_default_na, displayed_only)
   [1094](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/io/html.py:1094) validate_header_arg(header)
   [1096](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/io/html.py:1096) io = stringify_path(io)
-> [1098](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/io/html.py:1098) return _parse(
   [1099](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/io/html.py:1099)     flavor=flavor,
   [1100](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/io/html.py:1100)     io=io,
   [1101](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/io/html.py:1101)     match=match,
   [1102](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/io/html.py:1102)     header=header,
   [1103](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/io/html.py:1103)     index_col=index_col,
...
--> [552](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/io/html.py:552)     raise ValueError("No tables found")
    [554](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/io/html.py:554) result = []
    [555](file:///C:/Users/admin/AppData/Local/Programs/Python/Python39/lib/site-packages/pandas/io/html.py:555) unique_tables = set()

ValueError: No tables found
Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?2b88b114-be28-44c4-acde-517a82314144) or open in a [text editor](command:workbench.action.openLargeOutput?2b88b114-be28-44c4-acde-517a82314144). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant