Skip to content

Commit c788ee4

Browse files
raybellwavesRay Bell
andauthored
DOC: add pandas.DataFrame.to_xarray (#3994)
Co-authored-by: Ray Bell <rayjognbell0@gmail.com>
1 parent e1f0f98 commit c788ee4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xarray/core/dataset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4598,6 +4598,7 @@ def from_dataframe(cls, dataframe: pd.DataFrame, sparse: bool = False) -> "Datas
45984598
See also
45994599
--------
46004600
xarray.DataArray.from_series
4601+
pandas.DataFrame.to_xarray
46014602
"""
46024603
# TODO: Add an option to remove dimensions along which the variables
46034604
# are constant, to enable consistent serialization to/from a dataframe,

0 commit comments

Comments
 (0)