Skip to content

Commit

Permalink
DOC: add pandas.DataFrame.to_xarray (#3994)
Browse files Browse the repository at this point in the history
Co-authored-by: Ray Bell <[email protected]>
  • Loading branch information
raybellwaves and Ray Bell authored Apr 23, 2020
1 parent e1f0f98 commit c788ee4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xarray/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c788ee4

Please sign in to comment.