class_docstr: Baseclass to give an elements providing an API to generate a
  tabular representation of the object.
class_docstr_tok: ["Baseclass","to","give","an","elements","providing","an","API","to","generate","a","tabular","representation","of","the","object","."]
docstr: Number of columns in table
code: def cols(self):
      "Number of columns in table"
      return len(self.dimensions())
  
imports: from itertools import groupby
  import numpy
  import pandas
  import param
  from .dimension import Dimensioned, ViewableElement, asdim
  from .layout import Composable, Layout, NdLayout
  from .ndmapping import NdMapping
  from .overlay import CompositeOverlay, NdOverlay, Overlayable
  from .spaces import GridSpace, HoloMap
  from .tree import AttrTree
  from .util import get_param_values
label_desc: Use image node_id 2 for calling the Tabular obj's underlying member method code with example usage: obj.cols() and returns: len