diff --git a/table-analysis/join_tables.ipynb b/table-analysis/join_tables.ipynb index 55ac405..f5eb71f 100644 --- a/table-analysis/join_tables.ipynb +++ b/table-analysis/join_tables.ipynb @@ -290,7 +290,7 @@ "\n", "for page in doc: # iterate over the pages\n", " tabs = page.find_tables() # locate tables on page\n", - " if len(tabs.tables) == []: # no tables found?\n", + " if tabs.tables == []: # no tables found?\n", " break # stop\n", " tab = tabs[0] # assume fragment to be 1st table\n", " dataframes.append(tab.to_pandas()) # append this DataFrame\n",