code: def table(self, datatype=None):
          "Deprecated method to convert any Element to a Table."
          if config.future_deprecations:
              self.param.warning(
                  "The table method is deprecated and should no "
                  "longer be used. Instead cast the %s to a "
                  "a Table directly." % type(self).__name__)
  
          if datatype and not isinstance(datatype, list):
              datatype = [datatype]
          from ..element import Table
          return Table(self, **(dict(datatype=datatype) if datatype else {})f table(self, datatype=None):
          "Deprecated method to convert any Element to a Table."
          if config.future_deprecations:
              self.param.warning(
                  "The table method is deprecated and should no "
                  "longer be used. Instead cast the %s to a "
                  "a Table directly." % type(self).__name__)
  
          if datatype and not isinstance(datatype, list):
              datatype = [datatype]
          from ..element import Table
          return Table(self, **(dict(datatype=datatype) if datatype else {}))
docs: Deprecated method to convert any Element to a Table.