-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
DOC: Remove all versionchanged / versionadded directives < 1.0.0 #50057
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
Changes from 2 commits
2759c6c
8f6645e
77832c2
7eb5260
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 |
---|---|---|
|
@@ -489,9 +489,6 @@ class DataFrame(NDFrame, OpsMixin): | |
occurs if data is a Series or a DataFrame itself. Alignment is done on | ||
Series/DataFrame inputs. | ||
|
||
.. versionchanged:: 0.25.0 | ||
If data is a list of dicts, column order follows insertion-order. | ||
|
||
index : Index or array-like | ||
Index to use for resulting frame. Will default to RangeIndex if | ||
no indexing information part of input data and no index provided. | ||
|
@@ -3151,9 +3148,7 @@ def to_html( | |
header="Whether to print column labels, default True", | ||
col_space_type="str or int, list or dict of int or str", | ||
col_space="The minimum width of each column in CSS length " | ||
"units. An int is assumed to be px units.\n\n" | ||
" .. versionadded:: 0.25.0\n" | ||
" Ability to use str", | ||
"units. An int is assumed to be px units.\n\n", | ||
) | ||
@Substitution(shared_params=fmt.common_docstring, returns=fmt.return_docstring) | ||
def to_html( | ||
|
@@ -4349,9 +4344,6 @@ def query(self, expr: str, inplace: bool = False, **kwargs) -> DataFrame | None: | |
For example, if one of your columns is called ``a a`` and you want | ||
to sum it with ``b``, your query should be ```a a` + b``. | ||
|
||
.. versionadded:: 0.25.0 | ||
Backtick quoting introduced. | ||
|
||
Comment on lines
-4352
to
-4354
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. Removed this one because it did not make sense to keep it. |
||
.. versionadded:: 1.0.0 | ||
Expanding functionality of backtick quoting for more than only spaces. | ||
|
||
|
@@ -8493,8 +8485,6 @@ def pivot( | |
If True: only show observed values for categorical groupers. | ||
If False: show all values for categorical groupers. | ||
|
||
.. versionchanged:: 0.25.0 | ||
|
||
sort : bool, default True | ||
Specifies if the result should be sorted. | ||
|
||
|
@@ -8808,8 +8798,6 @@ def explode( | |
""" | ||
Transform each element of a list-like to a row, replicating index values. | ||
|
||
.. versionadded:: 0.25.0 | ||
|
||
Parameters | ||
---------- | ||
column : IndexLabel | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -551,9 +551,6 @@ | |
The method to use when for replacement, when `to_replace` is a | ||
scalar, list or tuple and `value` is ``None``. | ||
|
||
.. versionchanged:: 0.23.0 | ||
Added to DataFrame. | ||
|
||
Comment on lines
-554
to
-556
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. Removed this comment because did not make sense to keep it here. |
||
Returns | ||
------- | ||
{klass} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -824,9 +824,6 @@ def to_datetime( | |
out-of-bounds values will render the cache unusable and may slow down | ||
parsing. | ||
|
||
.. versionchanged:: 0.25.0 | ||
changed default value from :const:`False` to :const:`True`. | ||
|
||
Comment on lines
-827
to
-829
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. Removed this comment, since the description already covers that default is True. |
||
Returns | ||
------- | ||
datetime | ||
|
Uh oh!
There was an error while loading. Please reload this page.
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.
It might make sense to keep the comments, just without the version changed directive. Also for the others
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.
Got it, so we have to keep the comments, just remove the directives right?
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.
Yep, also have to remove the tab before the comment. Has to be on the same level as the comments before and after