class_docstr: Base class for parsers that parse HTML into DataFrames.
  
  Parameters
  ----------
  io : str or file-like
      This can be either a string of raw HTML, a valid URL using the HTTP,
      FTP, or FILE protocols or a file-like object.
  
  match : str or regex
      The text to match in the document.
  
  attrs : dict
      List of HTML <table> element attributes to match.
  
  encoding : str
      Encoding to be used by parser
  
  displayed_only : bool
      Whether or not items with "display:none" should be ignored
  
      .. versionadded:: 0.23.0
  
  Attributes
  ----------
  io : str or file-like
      raw HTML, URL, or file-like object
  
  match : regex
      The text to match in the raw HTML
  
  attrs : dict-like
      A dictionary of valid table attributes to use to search for table
      elements.
  
  encoding : str
      Encoding to be used by parser
  
  displayed_only : bool
      Whether or not items with "display:none" should be ignored
  
      .. versionadded:: 0.23.0
  
  Notes
  -----
  To subclass this class effectively you must override the following methods:
      * :func:`_build_doc`
      * :func:`_attr_getter`
      * :func:`_text_getter`
      * :func:`_parse_td`
      * :func:`_parse_thead_tr`
      * :func:`_parse_tbody_tr`
      * :func:`_parse_tfoot_tr`
      * :func:`_parse_tables`
      * :func:`_equals_tag`
  See each method's respective documentation for details on their
  functionality.
class_docstr_tok: ["Base","class","for","parsers","that","parse","HTML","into","DataFrames",".","Parameters","--","--","--","--","--","io",":","str","or","file-like","This","can","be","either","a","string","of","raw","HTML",",","a","valid","URL","using","the","HTTP",",","FTP",",","or","FILE","protocols","or","a","file-like","object",".","match",":","str","or","regex","The","text","to","match","in","the","document",".","attrs",":","dict","List","of","HTML","<","table",">","element","attributes","to","match",".","encoding",":","str","Encoding","to","be","used","by","parser","displayed_only",":","bool","Whether","or","not","items","with","``","display",":","none","''","should","be","ignored","..","versionadded",":",":","0.23.0","Attributes","--","--","--","--","--","io",":","str","or","file-like","raw","HTML",",","URL",",","or","file-like","object","match",":","regex","The","text","to","match","in","the","raw","HTML","attrs",":","dict-like","A","dictionary","of","valid","table","attributes","to","use","to","search","for","table","elements",".","encoding",":","str","Encoding","to","be","used","by","parser","displayed_only",":","bool","Whether","or","not","items","with","``","display",":","none","''","should","be","ignored","..","versionadded",":",":","0.23.0","Notes","--","--","-","To","subclass","this","class","effectively","you","must","override","the","following","methods",":","*",":","func",":","`","_build_doc","`","*",":","func",":","`","_attr_getter","`","*",":","func",":","`","_text_getter","`","*",":","func",":","`","_parse_td","`","*",":","func",":","`","_parse_thead_tr","`","*",":","func",":","`","_parse_tbody_tr","`","*",":","func",":","`","_parse_tfoot_tr","`","*",":","func",":","`","_parse_tables","`","*",":","func",":","`","_equals_tag","`","See","each","method","'s","respective","documentation","for","details","on","their","functionality","."]
docstr: Return list of tables, potentially removing hidden elements
  
  Parameters
  ----------
  tbl_list : list of node-like
      Type of list elements will vary depending upon parser used
  attr_name : str
      Name of the accessor for retrieving HTML attributes
  
  Returns
  -------
  list of node-like
      Return type matches `tbl_list`
code: def _handle_hidden_tables(self, tbl_list, attr_name):
      """
      Return list of tables, potentially removing hidden elements
  
      Parameters
      ----------
      tbl_list : list of node-like
          Type of list elements will vary depending upon parser used
      attr_name : str
          Name of the accessor for retrieving HTML attributes
  
      Returns
      -------
      list of node-like
          Return type matches `tbl_list`
      """
      if not self.displayed_only:
          return tbl_list
  
      return [
          x
          for x in tbl_list
          if "display:none"
          not in getattr(x, attr_name).get("style", "").replace(" ", "")
      ]
  
imports: from distutils.version import LooseVersion
  import numbers
  import os
  import re
  import pandas.compat
  from pandas.compat import binary_type, iteritems, lmap, lrange, raise_with_traceback, string_types, u
  from pandas.errors import AbstractMethodError, EmptyDataError
  from pandas.core.dtypes.common import is_list_like
  from pandas import Series
  from pandas.io.common import _is_url, _validate_header_arg, urlopen
  from pandas.io.formats.printing import pprint_thing
  from pandas.io.parsers import TextParser
label_desc: Use image node_id 14 for calling the _HtmlFrameParser obj's underlying member method code with example usage: obj._handle_hidden_tables(tbl_list, attr_name) and returns: unknown, tbl_list