From 5be76d18ca6405fa2ddecf41636e0084f80ff40f Mon Sep 17 00:00:00 2001 From: Deepak Cherian Date: Thu, 11 Jul 2024 22:38:03 +0530 Subject: [PATCH] lint --- xarray/core/common.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/xarray/core/common.py b/xarray/core/common.py index c461da3088c..52a00911d19 100644 --- a/xarray/core/common.py +++ b/xarray/core/common.py @@ -1060,10 +1060,7 @@ def _resample( dim_coord = self[dim] group = DataArray( - dim_coord, - coords=dim_coord.coords, - dims=dim_coord.dims, - name=RESAMPLE_DIM, + dim_coord, coords=dim_coord.coords, dims=dim_coord.dims, name=RESAMPLE_DIM ) grouper: Resampler