From c4e88829a644d6f6d4828069a06bbefaaefd5984 Mon Sep 17 00:00:00 2001 From: Etienne Combrisson Date: Fri, 10 Apr 2020 17:20:34 +0200 Subject: [PATCH] Empty line missing for DataArray.assign_coords doc (#3963) --- xarray/core/common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/xarray/core/common.py b/xarray/core/common.py index e8c43e964aa..8f6d57e9f12 100644 --- a/xarray/core/common.py +++ b/xarray/core/common.py @@ -455,6 +455,7 @@ def assign_coords(self, coords=None, **coords_kwargs): lon_2 (lon) int64 300 289 0 1 Note that the same result can also be obtained with a dict e.g. + >>> _ = da.assign_coords({"lon_2": ('lon', lon_2)}) Notes