@property
    def width(self):

        try:
            return len(self._data[0])
        except IndexError:
            try:
                return len(self.headers)
            except TypeError:
                return 0


    # -------
    # Formats
    # -------
Publish a CommandSucceededEvent to all command listeners.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/tablib-0.10.0/tablib/core.py/Dataset.width--crossover with--dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/monitoring.py/_EventListeners.publish_command_success