def batch_insert(self, rows, timestamp=None, ttl=None, write_consistency_level=None):

        if timestamp == None:
            timestamp = self.timestamp()

        cf = self.column_family
        mutations = {}
        for key, columns in rows.iteritems():
            packed_key = self._pack_key(key)
            mut_list = self._make_mutation_list(columns, timestamp, ttl)
            mutations[packed_key] = {cf: mut_list}

        if mutations:
            self.pool.execute('batch_mutate', mutations,
                    write_consistency_level or self.write_consistency_level,
                    allow_retries=self._allow_retries)

        return timestamp
Like :meth:`insert()`, but multiple rows may be inserted at once.
dataset/ETHPy150Open pycassa/pycassa/pycassa/columnfamily.py/ColumnFamily.batch_insert