@pexdoc.pcontracts.contract(filtered=bool)<EOL><INDENT>def cols(self, filtered=False):<DEDENT>
return self._fdata_cols if filtered else self._data_cols<EOL>
r"""
        Return the number of data columns.

        :param filtered: Flag that indicates whether the raw (input) data
                         should be used (False) or whether filtered data
                         should be used (True)
        :type  filtered: boolean

        .. [[[cog cog.out(exobj.get_sphinx_autodoc()) ]]]
        .. Auto-generated exceptions documentation for
        .. putil.pcsv.csv_file.CsvFile.cols

        :raises: RuntimeError (Argument \`filtered\` is not valid)

        .. [[[end]]]