-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Make pd.Period immutable #17239
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
Make pd.Period immutable #17239
Changes from 1 commit
89cf9d6
e6ca02c
8912283
d33922f
b86a7b9
1c6f197
08a218c
2642366
6c461eb
0e62865
cd687bf
dc2111c
1e92344
19567c8
f739f8f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,13 +137,36 @@ Other Enhancements | |
Backwards incompatible API changes | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
|
||
.. _whatsnew_0210.api_breaking.Period: | ||
|
||
pd.Period objects are now immutable | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
:class:`Period` will now raise an ``AttributeError`` when a user tries to | ||
assign a new value to the `ordinal` or `freq` attributes (:issue:`17116`). | ||
======= | ||
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. extra line here. IIRC I told you to make a sub-section, but let's move this back to just a single line (still in API breaking change) 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. OK. RST is another area where I'm figuring it out as I go. About to push a change that I think corresponds to what you're saying. |
||
|
||
|
||
.. _whatsnew_0210.api_breaking.deps: | ||
|
||
Dependencies have increased minimum versions | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
|
||
We have updated our minimum supported versions of dependencies (:issue:`15206`, :issue:`15543`, :issue:`15214`) | ||
). If installed, we now require: | ||
|
||
+--------------+-----------------+----------+ | ||
| Package | Minimum Version | Required | | ||
+======================+=========+==========+ | ||
| Numpy | 1.9.0 | X | | ||
+--------------+-----------------+----------+ | ||
| Matplotlib | 1.4.3 | | | ||
+--------------+-----------------+----------+ | ||
| Scipy | 0.14.0 | | | ||
+--------------+-----------------+----------+ | ||
| Bottleneck | 1.0.0 | | | ||
+--------------+-----------------+----------+ | ||
|
||
.. _whatsnew_0210.api_breaking.pandas_eval: | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just say Period