-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Pandas 2.2.0 test fixes #8638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pandas 2.2.0 test fixes #8638
Changes from 9 commits
888c5c3
3f8ad6b
ccf1a62
fb70add
d6084f8
779ba65
f9b1403
f29beff
288facf
6d866c1
7962dca
90613a9
b445f47
31b5ed9
aaaab45
5cdf81d
e9a1641
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7273,8 +7273,14 @@ Breaking changes | |
.. ipython:: python | ||
:okwarning: | ||
|
||
ds = xray.Dataset({"t": pd.date_range("2000-01-01", periods=12, freq="M")}) | ||
ds["t.season"] | ||
In[92]: ds = xray.Dataset({"t": pd.date_range("2000-01-01", periods=12, freq="M")}) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this switch to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The "code-block" part and then the ":: ipython" above the code means it is static but with syntax highlighting. Doc. I did this as I didn't want to "change history" and my quick fix of :okwarning: was not ok. The code was correct at v0.4 so shouldn't be refactored to run on modern code. |
||
|
||
In[93]: ds["t.season"] | ||
Out[93]: | ||
<xarray.DataArray 'season' (t: 12)> | ||
array(['DJF', 'DJF', 'MAM', ..., 'SON', 'SON', 'DJF'], dtype='<U3') | ||
Coordinates: | ||
* t (t) datetime64[ns] 2000-01-31 2000-02-29 ... 2000-11-30 2000-12-31 | ||
|
||
Previously, it returned numbered seasons 1 through 4. | ||
- We have updated our use of the terms of "coordinates" and "variables". What | ||
|
Uh oh!
There was an error while loading. Please reload this page.