-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: Clean-up references to v12 to v14 (both included) #17420
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
jreback
merged 5 commits into
pandas-dev:master
from
topper-123:cleanup_references_to_v12-v14
Sep 5, 2017
Merged
Changes from 2 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
e0507e8
Cleaned references to versions <0.12 in docs
aee6a29
cleanup references to v12-14, both included
8011a02
Added changes according to comments
15e94c4
new version of the pickle warning
b3d1ea1
Removed experimental status from pd.eval and pd.DataFrame.eval
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -248,8 +248,6 @@ as an attribute: | |
- In any of these cases, standard indexing will still work, e.g. ``s['1']``, ``s['min']``, and ``s['index']`` will | ||
access the corresponding element or column. | ||
|
||
- The ``Series/Panel`` accesses are available starting in 0.13.0. | ||
|
||
If you are using the IPython environment, you may also use tab-completion to | ||
see these accessible attributes. | ||
|
||
|
@@ -529,7 +527,6 @@ Out of range slice indexes are handled gracefully just as in Python/Numpy. | |
.. ipython:: python | ||
|
||
# these are allowed in python/numpy. | ||
# Only works in Pandas starting from v0.14.0. | ||
x = list('abcdef') | ||
x | ||
x[4:10] | ||
|
@@ -539,14 +536,8 @@ Out of range slice indexes are handled gracefully just as in Python/Numpy. | |
s.iloc[4:10] | ||
s.iloc[8:10] | ||
|
||
.. note:: | ||
|
||
Prior to v0.14.0, ``iloc`` would not accept out of bounds indexers for | ||
slices, e.g. a value that exceeds the length of the object being indexed. | ||
|
||
|
||
Note that this could result in an empty axis (e.g. an empty DataFrame being | ||
returned) | ||
Note that using slices that go out of bounds can result in | ||
an empty axis (e.g. an empty DataFrame being returned) | ||
|
||
.. ipython:: python | ||
|
||
|
@@ -745,8 +736,6 @@ Finally, one can also set a seed for ``sample``'s random number generator using | |
Setting With Enlargement | ||
------------------------ | ||
|
||
.. versionadded:: 0.13 | ||
|
||
The ``.loc/[]`` operations can perform enlargement when setting a non-existant key for that axis. | ||
|
||
In the ``Series`` case this is effectively an appending operation | ||
|
@@ -1020,8 +1009,6 @@ partial setting via ``.loc`` (but on the contents rather than the axis labels) | |
df2[ df2[1:4] > 0 ] = 3 | ||
df2 | ||
|
||
.. versionadded:: 0.13 | ||
|
||
Where can also accept ``axis`` and ``level`` parameters to align the input when | ||
performing the ``where``. | ||
|
||
|
@@ -1064,8 +1051,6 @@ as condition and ``other`` argument. | |
The :meth:`~pandas.DataFrame.query` Method (Experimental) | ||
--------------------------------------------------------- | ||
|
||
.. versionadded:: 0.13 | ||
|
||
:class:`~pandas.DataFrame` objects have a :meth:`~pandas.DataFrame.query` | ||
method that allows selection using an expression. | ||
|
||
|
@@ -1506,8 +1491,6 @@ The name, if set, will be shown in the console display: | |
Setting metadata | ||
~~~~~~~~~~~~~~~~ | ||
|
||
.. versionadded:: 0.13.0 | ||
|
||
Indexes are "mostly immutable", but it is possible to set and change their | ||
metadata, like the index ``name`` (or, for ``MultiIndex``, ``levels`` and | ||
``labels``). | ||
|
@@ -1790,7 +1773,7 @@ Evaluation order matters | |
|
||
Furthermore, in chained expressions, the order may determine whether a copy is returned or not. | ||
If an expression will set values on a copy of a slice, then a ``SettingWithCopy`` | ||
exception will be raised (this raise/warn behavior is new starting in 0.13.0) | ||
exception will be raised. | ||
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. this is only a warning by default (and depends on the value of the option for raise/warn) |
||
|
||
You can control the action of a chained assignment via the option ``mode.chained_assignment``, | ||
which can take the values ``['raise','warn',None]``, where showing a warning is the default. | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
maybe:
This will fail because the cython definition is specific to an
ndarray
and not the passedSeries