code: def add_entry(self, timestamp, data):
          
          self._normalized = self._predefinedNormalized
          self._sorted     = self._predefinedSorted
  
          tsformat = self._timestampFormat
          if tsformat is not None:
              timestamp = TimeSeries.convert_timestamp_to_epoch(timestamp, tsformat)
  
          self._timeseriesData.append([float(timestamp), float(data)])
docs: Adds a new data entry to the TimeSeries.
  
          :param timestamp:    Time stamp of the data.
              This has either to be a float representing the UNIX epochs
              or a string containing a timestamp in the given format.
          :param numeric data:    Actual data value.