@classmethod
    def create_for_block(
            cls, i=None, name=None, cname=None, version=None, **kwargs):

        if cname is None:
            cname = name or 'values_block_%d' % i
        if name is None:
            name = cname

        # prior to 0.10.1, we named values blocks like: values_block_0 an the
        # name values_0
        try:
            if version[0] == 0 and version[1] <= 10 and version[2] == 0:
                m = re.search("values_block_(\d+)", name)
                if m:
                    name = "values_%s" % m.groups()[0]
        except:
            pass

        return cls(name=name, cname=cname, **kwargs)
Returns the number of rows matched by this query.
dataset/ETHPy150Open pydata/pandas/pandas/io/pytables.py/DataCol.create_for_block--crossover with--dataset/ETHPy150Open datastax/python-driver/cassandra/cqlengine/query.py/AbstractQuerySet.count