diff --git a/src/traffic/core/flight.py b/src/traffic/core/flight.py index ea71a588..3d322851 100644 --- a/src/traffic/core/flight.py +++ b/src/traffic/core/flight.py @@ -1732,8 +1732,8 @@ def resample( if isinstance(how, str): if how == "interpolate": - interpolable = data.dtypes[data.dtypes != object].index - other = data.dtypes[data.dtypes == object].index + interpolable = data.dtypes[data.dtypes != object].index # noqa: E721 + other = data.dtypes[data.dtypes == object].index # noqa: E721 how = {how: set(interpolable) - {"timestamp"}} how["ffill"] = set(other) else: