python/ray/data/impl/stats.py
def add(self, stats: DatasetStats) -> None:
        """Called to add stats for a newly computed window."""
        self.history_buffer.append((self.count, stats))
        if len(self.history_buffer) > self.max_history:
            self.history_buffer.pop(0)
        self.count += 1
Called to add stats for a newly computed window.
Called to add stats for a newly computed window.
Called to add stats for a newly computed window .
def add(self, stats: DatasetStats) -> None:
        self.history_buffer.append((self.count, stats))
        if len(self.history_buffer) > self.max_history:
            self.history_buffer.pop(0)
        self.count += 1
def add ( self , stats : DatasetStats ) -> None : self . history_buffer . append ( ( self . count , stats ) ) if len ( self . history_buffer ) > self . max_history : self . history_buffer . pop ( 0 ) self . count += 1
Called to add stats for a newly computed window.
Called to add stats for a newly computed window .
"""Called to add stats for a newly computed window."""
self
stats
DatasetStats