def METHOD_NAME(self, dataIRI, times, values):
    """
    This method replaces all data of an already instantiated time series
    (i.e., clears all existing data and adds new data)
    Arguments:
        dataIRI (str): IRI of instance with hasTimeSeries relationship
        times (list): List of times/dates
        values (list): List of actual values
    """
    with self.connect() as conn:
        # Clear existing data
        t1 = self.tsclient.getMinTime(dataIRI, conn)
        t2 = self.tsclient.getMaxTime(dataIRI, conn)
        self.tsclient.deleteTimeSeriesHistory(dataIRI, t1, t2, conn)
        # Add new data
        ts = TSClient.create_timeseries(times, [dataIRI], [values])
        self.tsclient.addTimeSeriesData(ts, conn)
    logger.info(f"Time series data successfully added to dataIRI: {dataIRI}")