From bebd31c049d5f97a883be0263eab1d11db06326e Mon Sep 17 00:00:00 2001 From: Ray Bell Date: Wed, 22 Apr 2020 21:51:31 -0400 Subject: [PATCH] DOC: add pandas.DataFrame.to_xarray --- xarray/core/dataset.py | 1 + 1 file changed, 1 insertion(+) diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py index d811d54847f..53aa00f22ce 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -4598,6 +4598,7 @@ def from_dataframe(cls, dataframe: pd.DataFrame, sparse: bool = False) -> "Datas See also -------- xarray.DataArray.from_series + pandas.DataFrame.to_xarray """ # TODO: Add an option to remove dimensions along which the variables # are constant, to enable consistent serialization to/from a dataframe,