10000 Make pd.Period immutable by jbrockmendel · Pull Request #17239 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

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

Merged
merged 15 commits into from
Aug 24, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More brevity
  • Loading branch information
jbrockmendel committed Aug 20, 2017
commit 26423668e522167a995d8aa7ca34bb06c22a5928
4 changes: 1 addition & 3 deletions doc/source/whatsnew/v0.21.0.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,7 @@ 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. This will allow
for reliable caching which will improve performance in indexing
operations (:issue:`17116`).
assign a new value to the `ordinal` or `freq` attributes (:issue:`17116`).

.. _whatsnew_0210.api_breaking.pandas_eval:

Expand Down
0