```
def resample(
    samples: pl.Series,
    old_timestamps: pl.Series,
    new_timestamps: pl.Series,
) -> pl.Series:


Create a function that performs interpolation-based resampling, using polars. If samples.dtype exists in pl.FLOAT_DTYPES, return a Series corresponding to new_timestamps based on linear interpolation, otherwise take the value of the closest point.

```



3번 돌려봤는데 good2는 실행조차 안되고 llama3만 계속 성공했음. 근데 gpt4도 실패한거임 ㅋㅋ 뭔가 지식이 잘못들어갔나?